Skip to content

feat(app-list): add scrollable window preview and context menus - #1434

Open
gagishmagi wants to merge 1 commit into
pop-os:masterfrom
gagishmagi:feat/app-list-scrollable-window-popups
Open

feat(app-list): add scrollable window preview and context menus#1434
gagishmagi wants to merge 1 commit into
pop-os:masterfrom
gagishmagi:feat/app-list-scrollable-window-popups

Conversation

@gagishmagi

Copy link
Copy Markdown

Summary

  • Add horizontal scrolling to the left-click window preview strip on bottom/top docks
  • Add vertical scrolling to the right-click window title list when more than 8 windows are open
  • Keep the visible viewport at the existing ~7-preview width/height instead of clipping overflow

Fixes the issue where many windows of the same app (e.g. Firefox) were unreachable from the dock because neither the preview strip nor the context menu could scroll.

Test plan

  • Open 10+ windows of the same app (e.g. Firefox)
  • Left-click the dock icon: preview strip shows ~7 thumbnails and scrolls horizontally
  • Right-click the dock icon: window title list scrolls vertically when there are more than 8 windows
  • Verify single-window apps still focus/minimize on left-click
  • Verify vertical dock (left/right panel) preview column scrolls vertically

When an app has many open windows, the dock previously clipped both the
left-click thumbnail strip (~7 windows) and the right-click title menu
(off-screen with no scroll).

Wrap the toplevel preview row/column in horizontal/vertical scrollable
containers sized to the existing 7-window viewport, and scroll the
right-click window title list when more than eight entries are present.

Co-authored-by: Cursor <cursoragent@cursor.com>
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