Skip to content

[stable33] fix(files): await FilesSettings before mounting - #9343

Merged
mejo- merged 1 commit into
stable33from
fix/files-settings-async-stable33
Oct 7, 2026
Merged

mejo- merged 1 commit into
stable33from
fix/files-settings-async-stable33

Conversation

@juliusknorr

@juliusknorr juliusknorr commented Oct 7, 2026 •

Copy link
Copy Markdown
Member

馃摑 Summary

Files settings from Text (folder description toggle) were not shown on Nextcloud 33/34 since #8535 switched FilesSettings to defineAsyncComponent.

With Vue 2 the root instance is mounted detached, so vm.$mount().$el is still the async placeholder comment node at registration time. Once the component resolves, Vue replaces vm.$el, but the Files app keeps the stale comment node, so nothing renders. Awaiting the import before mounting restores the previous behaviour. Vue 3 branches (stable35, main) are not affected.

Reported and fixed by @memurats in nextmcloud#3.

馃弫 Checklist

  • Code is properly formatted (npm run lint / npm run stylelint / composer run cs:check)
  • Sign-off message is added to all commits
  • Tests (unit, integration and/or end-to-end) passing and the changes are covered with tests
  • Documentation (README or documentation) has been updated or is not required

馃 AI (if applicable)

  • The content of this PR was partly or fully generated using AI tools
  • The AI-generated content was reviewed, comprehended and tested by a human

Co-authored-by: memurats <Mauro-Efisio.Mura@t-systems.com>
Assisted-by: ClaudeCode:claude-opus-5-5
Signed-off-by: Julius Knorr <jus@bitgrid.net>
@juliusknorr juliusknorr added the bug Something isn't working label Oct 7, 2026
@mejo-
mejo- merged commit db202ae into stable33 Oct 7, 2026
72 of 81 checks passed
@mejo-
mejo- deleted the fix/files-settings-async-stable33 branch October 7, 2026 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants