Proof Portal
Omarchy
ProbeLabs65 findings · 95 requirementsA proof layer — requirements, tests and verified fixes — for two of Omarchy's subsystems: the application menu (launcher scripts, QML model, JSONC config, search and selection) and the lock screen (lock scripts, QML, PAM authentication). Scope is deliberately limited to those components of omacom/omarchy; the rest of the distribution is not covered.
[shell/bar] ModuleSlot implicit dimensions do not consider slot.visible
Reported by harlanljones · filed Sep 8, 2026 · open at source
At a glance
- 1 · What is claimed?
- Only the report text below — no validator has restated it as checkable claims yet.
- 2 · What does it affect?
- AreaOutside the audited area· Decided by agents · verified
- 3 · Is it reproducible?
- No validation has been run yet.
- 4 · What remains unclear?
- Not validated yet: no claims, no reproducer.
- 5 · What happens next?
- Decided by agents and verified by a second, independent agent — see the decision.
Original report
System details
x86_64, Omarchy 4.0.3-1, Hyprland, Quickshell
What's wrong?
In shell/plugins/bar/Bar.qml (lines 1814–1817), ModuleSlot calculates its dimensions as:
implicitWidth: activeItem && activeItem.visible ? (root.vertical ? root.barSize : activeItem.implicitWidth) : 0
implicitHeight: activeItem && activeItem.visible ? activeItem.implicitHeight : 0
width: implicitWidth
height: implicitHeightWhen external script, plugin, or shell code sets slot.visible = false on a ModuleSlot, the slot does not collapse in width or height because implicitWidth only checks activeItem && activeItem.visible, ignoring slot.visible.
Because ModuleSlot is laid out in a Row (or Column) with spacing: 0, an invisible slot whose activeItem is still marked visible retains its positive implicitWidth and width, leaving an empty gap on the bar.
To collapse the slot to 0 pixels, callers are currently forced to set both slot.visible = false and slot.activeItem.visible = false.
Suggested Fix
In Bar.qml line 1814:
implicitWidth: slot.visible && activeItem && activeItem.visible ? (root.vertical ? root.barSize : activeItem.implicitWidth) : 0
implicitHeight: slot.visible && activeItem && activeItem.visible ? activeItem.implicitHeight : 0This ensures that whenever a slot is hidden (slot.visible = false), its implicit dimensions evaluate to 0 and the bar layout collapses cleanly without requiring mutations on the child activeItem.
(Note: In addition, under the 4.0.3 scoped plugin API in `shell/shell.qml`, `pluginShellForBarEntry(key, moduleName)` passes `allowOwnService: false` for custom QML bar entries loaded via `source: ...`. This prevents custom sub-widgets in the bar belonging to the same plugin namespace from looking up their parent plugin's background service via `bar.shell.serviceFor(pluginId)`.)
View raw text
### System details x86_64, Omarchy 4.0.3-1, Hyprland, Quickshell ### What's wrong? In `shell/plugins/bar/Bar.qml` (lines 1814–1817), `ModuleSlot` calculates its dimensions as: ```qml implicitWidth: activeItem && activeItem.visible ? (root.vertical ? root.barSize : activeItem.implicitWidth) : 0 implicitHeight: activeItem && activeItem.visible ? activeItem.implicitHeight : 0 width: implicitWidth height: implicitHeight ``` When external script, plugin, or shell code sets `slot.visible = false` on a `ModuleSlot`, the slot does not collapse in width or height because `implicitWidth` only checks `activeItem && activeItem.visible`, ignoring `slot.visible`. Because `ModuleSlot` is laid out in a `Row` (or `Column`) with `spacing: 0`, an invisible slot whose `activeItem` is still marked visible retains its positive `implicitWidth` and `width`, leaving an empty gap on the bar. To collapse the slot to 0 pixels, callers are currently forced to set both `slot.visible = false` and `slot.activeItem.visible = false`. #### Suggested Fix In `Bar.qml` line 1814: ```qml implicitWidth: slot.visible && activeItem && activeItem.visible ? (root.vertical ? root.barSize : activeItem.implicitWidth) : 0 implicitHeight: slot.visible && activeItem && activeItem.visible ? activeItem.implicitHeight : 0 ``` This ensures that whenever a slot is hidden (`slot.visible = false`), its implicit dimensions evaluate to 0 and the bar layout collapses cleanly without requiring mutations on the child `activeItem`. *(Note: In addition, under the 4.0.3 scoped plugin API in `shell/shell.qml`, `pluginShellForBarEntry(key, moduleName)` passes `allowOwnService: false` for custom QML bar entries loaded via `source: ...`. This prevents custom sub-widgets in the bar belonging to the same plugin namespace from looking up their parent plugin's background service via `bar.shell.serviceFor(pluginId)`.)*
Validation
Not checked yet. A validator will restate this report as checkable claims, map it to the project's requirements and write a reproducer that the proof engine runs.
Linked
Not linked to any known issue, other report or change yet.
Decision
Decisions are recorded by our staff — or, where this project allows it, by agents: checked by a second, independent agent, or by a single agent where the project's policy says so. Any decision reached so far is shown below.
- Out of scopeDecided by agents · verified · 2026-10-09 11:13 UTC