feat(bar): reserve layout only while visible during auto-hide - #4146
Open
mdj2812 wants to merge 6 commits into
Open
feat(bar): reserve layout only while visible during auto-hide#4146mdj2812 wants to merge 6 commits into
mdj2812 wants to merge 6 commits into
Conversation
Introduce an opt-in setting that defers layout reservation until the bar is visible during auto-hide, disabled by default and wired through schema, overrides, and export. Co-authored-by: Cursor <cursoragent@cursor.com>
Apply dynamic exclusive-zone reservation when auto_hide_reserve_space is enabled, releasing layout space while the bar is hidden. Co-authored-by: Cursor <cursoragent@cursor.com>
Show the reserve-while-visible toggle below reserve space and only when layout reservation is enabled, including per-monitor overrides. Co-authored-by: Cursor <cursoragent@cursor.com>
Add unit tests for static vs dynamic reserve-space decisions across auto-hide, smart auto-hide, and IPC layout release. Co-authored-by: Cursor <cursoragent@cursor.com>
Note the opt-in setting for reserving layout only while the bar is visible. Co-authored-by: Cursor <cursoragent@cursor.com>
mdj2812
force-pushed
the
feat/bar-dynamic-reserve-space
branch
from
August 30, 2026 07:59
27e665f to
41efc76
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
auto_hide_reserve_spacebar setting (disabled by default) that releases the compositor exclusive zone while the bar is hidden and restores it when shownauto_hideorsmart_auto_hidewhenreserve_space = true, giving full-screen layout when the bar is away and normal reserved layout when it appearsCredit: Idea from this Discord message in the Noctalia community server:
Test plan
bar_exclusive_zone_testandconfig_schema_roundtrip_testpassreserve_space = true,smart_auto_hide = true,auto_hide_reserve_space = true— windows use full screen when bar hidden, layout shifts when bar appearsauto_hide_reserve_space, behavior unchanged (static reserve)Screencast_20260828_211211.webm
Made with Cursor