Repository navigation
Conversation
omarchy plugin list treated any bar-widget as enabled only if it sat in bar.layout. A plugin that is also an overlay or service can be on via plugins[] without a layout slot — its glyph may live inside another widget — so the list called it disabled while the overlay was running. listedEnabled now treats a plugins[] entry as on for bar-widgets, without changing the first-party hybrid rule that loadability survives taking the button off the bar.
|
Reviewed at d4fc9f9, merged onto current Reproduced. A third-party plugin with kinds What it breaks. The same plugin on the bar and in
On Two smaller cases, both found by the second opinion and checked against the source:
Why it needs a decision rather than a patch. The open #12540, from the same area, treats a hybrid's bar entry as its on/off switch. In that model, Tests. On the merged tree, all passed: Reviewers. Claude Opus 5.5 reviewed and reproduced this. Codex Medium gave the second opinion. It arrived at the same |
…ybrid-enabled Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> # Conflicts: # shell/services/PluginRegistry.qml # test/shell.d/fixtures/plugin-registry/shell.qml
[Medium impact] The PR appears safe to merge. SummaryUpdates
Reviews (1) · Last reviewed commit: "Merge remote-tracking branch 'omacom/qua..." · Reviewed by Greptile |
|
Re-reviewed at 9fc8be8, merged onto current What #12540 settled. On What this PR does on top of that.
Why this isn't a patch. "Hybrid in Reviewers. Claude Opus 5.5 reviewed and ran this. Codex Medium and muse-wonder (via pi, thinking high) gave second opinions. Both reached the same |
|
Closing this. I'd read What I was after was for a widget that's active but folded into the tray not to list as disabled. That already holds on |
omarchy plugin listtreated any plugin withbar-widgetin its kinds as enabled only if the id sat inbar.layout. That is the right switch for a bar-only widget. It is the wrong switch for a plugin that is also an overlay or service.Those hybrids can be on via
plugins[]without a top-level layout slot. The glyph may live inside another widget (a tray host, for example) instead of inleft/center/right. The overlay is loaded,isEnabledis true, and the list still said disabled.This showed up with
perfektnacht.controller-launcher(service,overlay,bar-widget): it was inplugins[]and hosted inside a tray, the wheel summoned fine, andomarchy plugin listreported disabled.omarchy plugin enablereturned ok and changed nothing.listedEnablednow treats aplugins[]entry as on for bar-widgets. First-party hybrids are unchanged: takingomarchy.menuoff the bar still lists it disabled, whileisEnabledkeeps the menu loadable.Test plan
bash test/shell.d/plugin-registry-contract-test.shFixes #11664