Skip to content

fix(plugins): create the extension for an enabled plugin that has none - #43

Merged
mirkobrombin merged 1 commit into
singularityos-lab:mainfrom
ncz-os:pr/plugin-extension-for-enabled-plugin-20261017
Nov 24, 2026
Merged

mirkobrombin merged 1 commit into
singularityos-lab:mainfrom
ncz-os:pr/plugin-extension-for-enabled-plugin-20261017

Conversation

@perlowja

Copy link
Copy Markdown
Contributor

When enabled-plugins or disabled-plugins changes outside the Plugins page (for example a plugin turned off and back on with gsettings), enable_configured_plugins() finds the module already loaded and skips it. The plugin stays enabled without an extension and its page shows "No settings available" until the shell restarts. Create the missing extension in that case. load_extension() already returns early when the extension exists.

@mirkobrombin for review when you have a moment.

AI assistance: disclosed

When enabled-plugins or disabled-plugins changed outside the Plugins page,
enable_configured_plugins() skipped a plugin whose module was already
loaded, so a plugin turned off and on again that way stayed enabled with
no extension and its settings page showed No settings available until the
shell restarted. Create the missing extension in that case.

Assisted-by: Claude Code:claude-opus-5-5
AI-Scope: added the enabled-but-no-extension branch in enable_configured_plugins().
@perlowja

Copy link
Copy Markdown
Contributor Author

@mirkobrombin this still applies cleanly to current main; ready for review when you have time.

@perlowja

Copy link
Copy Markdown
Contributor Author

@mirkobrombin this merges cleanly into main and CI is green. Ready for your review.

@mirkobrombin

Copy link
Copy Markdown
Member

Right fix. Merging.

@mirkobrombin
mirkobrombin merged commit 13e9545 into singularityos-lab:main Nov 24, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants