Skip to content

Make omarchy toggle bar on/off match bar visibility - #12150

Open
WoodyWoodster wants to merge 1 commit into
omacom:quattrofrom
WoodyWoodster:fix-toggle-bar-on-off
Open

WoodyWoodster wants to merge 1 commit into
omacom:quattrofrom
WoodyWoodster:fix-toggle-bar-on-off

Conversation

@WoodyWoodster

@WoodyWoodster WoodyWoodster commented Sep 16, 2026

Copy link
Copy Markdown

Fixes #12082

omarchy toggle bar on hid the bar and off showed it, because the wrapper passed those arguments straight through to the bar-off flag. User-facing on/off now means bar visibility. omarchy-toggle-fullscreen-desktop hides the bar with omarchy-toggle-bar off so fullscreen on/off stay correct.

The on-disk flag is still bar-off. Menu and hotkey callers pass no argument, so they are unaffected.

Testing

  • bash test/shell.d/toggle-test.shon clears bar-off, off sets it, and fullscreen still enters and leaves together
  • env -u NO_COLOR PYTHONDONTWRITEBYTECODE=1 ./test/all — all 238 shell test files passed
  • Live session with the checkout binaries on PATH: packaged omarchy-toggle-bar on still hides (the bug); checkout on shows, off hides; omarchy-toggle-fullscreen-desktop on hides the bar and off restores it
  • Before/after visual evidence

Acceptance (test/acceptance.d/session-test.sh) is updated for the new mapping. That suite runs in a disposable VM, not the development session, so it is not in this run.

@WoodyWoodster

Copy link
Copy Markdown
Author

Confirming the bug:
screenshot-2026-09-16_11-05-42

Testing on with fix:
screenshot-2026-09-16_11-07-10

Testing off with fix:
screenshot-2026-09-16_11-07-51

The wrapper passed on/off through to the bar-off flag, so on hid the bar
and off showed it.

Fixes omacom#12082
@sprajs

sprajs commented Sep 18, 2026

Copy link
Copy Markdown

There are several still-open implementations of this same bar-visibility inversion: #12022, #11807, #11849 and #11894 all update the bar/fullscreen helpers and associated tests. They address overlapping reports #12082, #11817 and #11769.

Could one be selected and the others closed as duplicates after consolidating the useful coverage? The explicit invalid-action handling here/#11807 and the implicit/explicit toggle coverage in #11849 are worth retaining alongside the corrected fullscreen and acceptance expectations.

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.

omarchy toggle bar on/off arguments are inverted

2 participants