Repository navigation
Keep the tray while only hidden items remain - #13886
josemiguelo wants to merge 1 commit into
Conversation
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Fuh6ybaStSCCC1YzYNLX3g
|
|
Reviewed at ad9963b and verified on a worker VM built from the Omarchy ISO; nothing found to fix. Reproduction. With
Tests. Second opinion. Codex Medium reviewed the diff read-only and found no defects. It agreed that The change is one line, the smallest fix for the problem. It waits on the maintainer, and on the unrelated |
|
This pull request now conflicts with What changed on Verified on a worker. On a worker VM built from the Omarchy ISO, running the shell from Second opinion. None this round. The configured reviewer (Codex Medium) answered a ping, but its daily review budget was spent, so this finding rests on one model's reading plus the worker run. Nothing here is left for the author to do. I'd recommend closing it as already fixed on |
Fixes #7117.
Hiding the last visible tray item made the whole tray disappear, chevron included — and the chevron's manage menu is the only way to unhide an item, so the item could only be brought back by editing
~/.config/omarchy/shell.json.The tray root was gated on the shown buckets (
pinnedItems.length > 0 || drawerCount > 0), which leave hidden items out. It now keys on every reporting item (allItems.length > 0), the same condition the chevron and its block width already use, so the chevron stays while anything can still be unhidden. An empty tray still disappears.Testing:
test/shell.d/tray-test.shgains a check that the root keys onallItems; it fails against the old gate.tray-test.sh,bar-test.shandbar-widget-contract-test.shpass.debugBarGeometry: width 0, not visible).