add new window actions: tile the focused display in rows or columns - #1850
Open
dank-openai wants to merge 1 commit into
Open
add new window actions: tile the focused display in rows or columns#1850dank-openai wants to merge 1 commit into
dank-openai wants to merge 1 commit into
Conversation
Expose separate on-demand shortcuts in More Shortcuts and arrange ordinary windows from the current Space into pixel-aligned bands on the focused display. Respect configured screen-edge gaps and window size limits while leaving other displays in place. Include the Todo sidebar transition, icons, localization, documentation, and focused layout regression tests.
Owner
|
Thanks for contributing! At the moment, new window actions are being placed in the popover at the Extras button in the General tab until I rearrange things in this release. Would you mind moving these there? |
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
Why This Change
Tile All makes a grid. Rows and Columns provide full-width top-to-bottom or full-height left-to-right layouts without continuous reflow. Neither action has a default shortcut, so existing bindings are preserved.
For example, if three windows share 901 available backing pixels after configured edge gaps, Rows assigns 301, 300, and 300 pixels. The bands meet without an internal gap, while the reserved screen edges remain clear.
Limits and validation
If an app refuses a requested size, Rectangle attempts to rebalance the bands; an impossible layout may still leave a gap or overlap. A window without an accessible ID may be left untiled when on-screen evidence cannot distinguish it from a window in another Space. Todo Mode's window participates in tiling, and its sidebar reserves space only while pinned.
I manually tested Rows and Columns on my Mac; they worked as expected, and windows on the other monitor stayed in place. A nonlaunching
xcodebuild build-for-testingsucceeded. The added XCTest cases compiled but were not run. Todo, and nonzero edge-gap behavior were not tested.