4.5.0 upgrade silently breaks custom bar/menu configurations (API rewrite without migration path)
What happened
After upgrading from 4.0.6-1 to 4.5.0-3, both the bar and menu rendered empty/invisible. No QML errors were thrown — the components simply failed silently during construction. The launcher menu opened with zero entries. Downgrading back to 4.0.6-1 restored functionality.
Environment
- Previous version: omarchy 4.0.6-1 + omarchy-settings 4.0.6-1
- Upgraded to: omarchy 4.5.0-3 + omarchy-settings 4.5.0-3
- OS: Arch Linux (Omarchy)
- Customizations: Hand-edited package files under
/usr/share/omarchy/shell/plugins/(Bar.qml, Menu.qml, weather/clock panel widgets) plus custom QML bar widgets registered viashell.jsonlayout arrays.
Root cause analysis
The 4.5.0 update includes a full architectural rewrite of the bar system that is not backward-compatible:
-
Bar.qml property contract changed: Three properties injected by the host shell (
omarchyPath,barWidgetRegistry,barConfig) went fromrequired propertyto optionalpropertywith fallback defaults. Custom bars using the oldrequiredcontract fail silently when the host injection timing does not match the new expectations. -
Bar.qml grew from ~1,900 to ~3,200 lines with entirely new subsystems: glassy blur mode, popout card positioning, tray drag-and-drop,
pluginRegistry,Commons.Colornamespace (replacing directColor.*references),centerBegin/centerEndlayout regions, etc. Custom configurations built against the 4.0.x structure are structurally incompatible. -
Menu.qml added new lifecycle guards:
languageFile.reload(),menuCatalogFile.reload(), and adefaultMenuItems.length === 0check inopen(). Without these, the menu opens empty. -
Lua workspace API changed: State files generated under 4.5 use
o.workspace_mode()which does not exist in 4.0.6 (and presumably vice versa). These state files persist across downgrade/upgrade, causingattempt to call nil valueerrors. -
No silent failure protection: When
requiredproperties are not satisfied or new subsystems are missing, the bar/menu do not log warnings — they just render nothing. This made diagnosis extremely difficult.
What I expected
Either backward compatibility for existing custom configurations, or a documented migration guide for the API changes. At minimum, a warning/error in the journal when the bar fails to construct.
Workaround
Downgrade both packages together:
sudo pacman -U --overwrite '*' /var/cache/pacman/pkg/omarchy-4.0.6-1-x86_64.pkg.tar.zst /var/cache/pacman/pkg/omarchy-settings-4.0.6-1-x86_64.pkg.tar.zst
Then remove any 4.5-generated state files:
rm -f ~/.local/state/omarchy/workspace-layouts/*.lua
Suggested fixes
- Migration documentation for the Bar.qml/Menu.qml API changes in release notes
- Graceful degradation — if required properties are missing or the component tree fails, log a visible error instead of rendering invisibly
- Version-gated state files — workspace layouts written by 4.5 should be tagged so 4.0.x ignores them (and vice versa)
- Stable customization API — consider exposing a plugin/hook layer for bar modifications rather than requiring users to hand-edit 3,200-line QML files that change fundamentally between versions
Are there any updates on this yet? I would like to complete the update with having it crash my menu bar. Thanks!!
FYi > Here is a current Snapshot of how my Menu bar currently looks -->
I would like to keep this layout, without having the 4.5 upgrade reset / add anything to the menu bar if possible. Ty.!
Updates?