fix(layout): preserve explicit width when resizing a single column - #155
Closed
itsJai42 wants to merge 2 commits into
Closed
fix(layout): preserve explicit width when resizing a single column#155itsJai42 wants to merge 2 commits into
itsJai42 wants to merge 2 commits into
Conversation
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
Allow a single scrolling-layout column to keep an explicitly selected width when
expand_single_columnis enabled.New columns still expand to fill the workspace. Pointer resizing, width actions, and width preset cycling now mark the column as user-sized so automatic expansion no longer overrides its width. This state is preserved when the layout is captured and restored.
Motivation
With
expand_single_column = true, tiled windows (in my case, Steam/Spotify) could not be resized horizontally. The resize changed the stored width, but the layout immediately expanded the column back to the full workspace width. To me, this seems more like a bug than a design decision.Type of Change
Testing
meson compile -C build-debugmeson test -C build-debug --print-errorlogstests/harness/check.sh build-debug/umbriel 410_drag_width 516_resize_past_neighbor_minimum 517_expand_single_resizeManual Coverage
Screenshots / Videos
2026-09-05.18-34-55.mp4
Checklist
SCOPE.md, or its scope was agreed in an issue or on Discord first.CONTRIBUTING.md.just format, or this PR has no C++ changes.docs/andexamples/config.toml, or this PR does not change user-facing configuration or behavior.Additional Notes
The original problem was observed with X11 applications through xwayland-satellite. The regression check uses a native Wayland client to exercise the same scrolling-layout resize path.