Skip to content

feat(alt-backtick): add visual overlay switcher for same-group windows#38

Open
tutumumu777 wants to merge 2 commits into
MrBeanCpp:masterfrom
tutumumu777:feat-add-group-switching-window
Open

feat(alt-backtick): add visual overlay switcher for same-group windows#38
tutumumu777 wants to merge 2 commits into
MrBeanCpp:masterfrom
tutumumu777:feat-add-group-switching-window

Conversation

@tutumumu777
Copy link
Copy Markdown

Summary

  • Show a frosted-glass overlay when pressing Alt+`` (same visual style as Alt+Tab)
  • Each item displays "窗口 N" above the icon and the window title below it
  • Window switching is deferred until Alt is released (instead of switching immediately)

Changes

  • IconOnlyDelegate: added group switcher mode — draws number label above icon and title below
  • Widget: added showGroupSwitcherOverlay() with a taller grid (110px) to accommodate text labels; stores itemDelegate pointer to toggle modes at runtime
  • keyPressEvent (Alt+`` ): tracks groupCurrentIndex, shows overlay instead of switching immediately; Alt+Shift+`` navigates in reverse
  • keyReleaseEvent: switches to the highlighted window on Alt release, then resets all state

Test plan

  • Open multiple windows of the same app (e.g. VS Code, Notepad)
  • Hold Alt and press ` repeatedly — overlay should appear and cycle through windows
  • Press Alt+Shift+`` to cycle in reverse
  • Release Alt — should switch to the highlighted window
  • Verify Alt+Tab still works normally after using Alt+``

WangQi added 2 commits April 3, 2026 18:40
- show frosted-glass overlay when pressing Alt+` (same style as Alt+Tab)
- display "窗口 N" above icon and window title below for each item
- defer window switch until Alt is released instead of switching immediately
- add group switcher mode to IconOnlyDelegate with taller grid (110px)
- store itemDelegate pointer in Widget to toggle mode at runtime
…ment

- widen Alt+� group-switcher items and render labels in white for readability
- keep stable "窗口 N" labels bound to windows instead of active-order changes
- hide the Release console window with multi-config CMake generators
- auto-copy runtime DLLs and run windeployqt after Windows builds
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.

1 participant