You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
New file openers do not appear until Preferences is reopened #588
If an app registers a valid file opener while Preferences is already open, the public registry updates but the File Associations dropdown does not. The new choice appears only after closing and reopening Preferences.
This matters for extensions that load lazily: the app is ready to open the file, but the setting where someone chooses it still looks as if it does not exist.
How to reproduce
Open Preferences → File Associations.
Note the choices for Posts.
Register another Post opener through the public Files API.
Confirm the opener registry now contains the new app.
Check the mounted Post dropdown; it still has the old list.
Close and reopen Preferences; the new app appears.
What should happen
The mounted File Associations tab should subscribe to opener-registry changes and refresh only the affected choices without losing the current selection.
Where I would look
src/desktop-files/openers.ts already provides subscribeOpeners(), but src/desktop-files/settings-tab.ts does not use it.
Activity