Skip to content

Keep the stacked-window list highlight on the window at the front - #1938

Merged
rxhanson merged 1 commit into
rxhanson:mainfrom
MyronKoch:feat/stack-list-highlight-front
Oct 25, 2026
Merged

rxhanson merged 1 commit into
rxhanson:mainfrom
MyronKoch:feat/stack-list-highlight-front

Conversation

@MyronKoch

Copy link
Copy Markdown
Contributor

Follow-up to #1909. Now that the stacked-window list is alphabetical, the window at the front of the stack can be on any row, but the list still opened with the first row highlighted. So the highlight no longer told you which window you were looking at.

This makes the list behave like a Finder list view:

  • It opens with the window at the front of the stack highlighted, wherever that sorts. The window list comes back front to back, so that's the first visible window in the stack, with no extra accessibility calls.
  • Hovering no longer moves the highlight. A click or the arrow keys still move it, as in Finder. Clicking a row raises that window, so the highlight keeps marking the window on top.
  • If the front window is past the rows that fit on screen, the list falls back to highlighting the first row, as before.

The one behavior change for existing users is that hover no longer selects. If you would rather keep hover highlighting, the Window menu pattern also works: a checkmark on the front window, with hover tracking left as it was. Happy to switch to that.

Tests: StackBadgeListSelectionTests builds the real panel and checks the opening selection, the fallback, and arrow-key movement from the front window. Full suite: 626 passed, 0 failed. I've been running it as my daily driver since Oct 20.

Now that the list is alphabetical, the window on top of the stack can be on any row. Open the list with that window highlighted, and stop hover from moving the highlight, so it keeps showing which window is on top. A click or the arrow keys still move it.
@rxhanson
rxhanson merged commit 3d28a5e into rxhanson:main Oct 25, 2026
1 check passed
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.

2 participants