Skip to content

[Simple Window Switcher] Bug Fixes and Minor Feature Additions#4776

Draft
Louis047 wants to merge 9 commits into
ramensoftware:mainfrom
Louis047:sws-update
Draft

[Simple Window Switcher] Bug Fixes and Minor Feature Additions#4776
Louis047 wants to merge 9 commits into
ramensoftware:mainfrom
Louis047:sws-update

Conversation

@Louis047

@Louis047 Louis047 commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Changelog

Fixes

  • Fixed an issue where the alt-tab interface flashed at the top-left of the screen on launch for single-monitor setups by utilizing absolute negative off-screen coordinates
  • Fixed an issue where child popup windows or dialogs overshadowed their root parent windows in the switcher by correctly prioritizing GW_OWNER
  • Fixed the "Scroll Pages" layout engine wrapping issue to ensure strictly computed page boundaries and alignments without incorrectly pulling from the start of the list
  • Fixed the layout and spacing of overflow indicators so they no longer stick flush against the absolute screen edges
  • Fixed corner scaling to properly support custom, rounded, or default corner preferences in the switcher background (Credits to @bropines)
  • Fixed mirror switcher cleanup to prevent resource leaks and overlap bugs on multi-monitor setups (Credits to @bropines)
  • Fixed an issue where only File Explorer tabs would close instead of the entire window by safely utilizing native SC_CLOSE commands (Credits to @bropines)

Updates

  • Updated the title fetching logic to prioritize native GetWindowTextW fallback for better title extraction and consistency
  • Updated the static ... overflow indicator into dynamic directional chevrons (, , , ) depending on the layout orientation
  • Updated keyboard shortcut handling to natively support Ctrl+W and Del for closing the selected window
  • Updated default value for Virutal Desktop Behavior to show windows from all virtual displays

Additions

  • Added a new setting sortMinimizedWindowsToEnd to prevent game windows that minimize on focus loss from being incorrectly sorted to the end of the list (Credits to @bropines)
  • Added Alt+Backtick shortcut support with a configurable setting to cycle backwards or filter exclusively to windows of the same active application
  • Added a "Show close button" (showCloseButton) setting toggle under Appearance -> Thumbnails to easily hide the X button
  • Added advanced scroll wheel customization options (Scroll Wheel Action & Secondary Modifiers) to allow seamless toggle between selection scrolling and full-page scrolling

Issue References:

bropines and others added 5 commits July 12, 2026 01:12
simple-window-switcher: apply window switching fixes and add sortMinimizedWindowsToEnd setting
- Implemented dynamic strict pagination behavior in 'Scroll Pages' mode via CyclePage and g_isPaginatedView. (incomplete)

- Refactored ShouldListInAltTab to prioritize native parent windows (GW_OWNER) over popup children, fixing child popups hijacking the active menu.

- Switched default window close behavior back to SC_CLOSE to address File Explorer tab bugs.

- Implemented setting toggles for showCloseButton and overflow indicators.

- Added dynamic overflow chevron rendering with 6px offset padding.

- Hardcoded GetOffscreenDelayPosition and CreateWindowEx coords to -9999 to permanently eradicate the single-monitor launch flash bug.

- Added support for closing selected window with Ctrl+W and Del shortcuts.

- Added Alt+Backtick same-app window switching.
@Louis047

Copy link
Copy Markdown
Contributor Author

Yet to fix the CyclePage() function. So keeping the PR as a draft now.

@AromaKitsune

AromaKitsune commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

File Explorer window closed instead of individual tabs: confirmed fixed.

Child windows: partially fixed. When VMware Workstation, its Preferences window, and File Explorer (or any app) are on the same virtual desktop, pressing Alt+Tab while the Preferences window is focused selects File Explorer but fails to switch to that window.
When File Explorer is on VD 1 and VMware on VD 2, pressing Alt+Tab while the Preferences window is focused switches to File Explorer, pressing Alt+Tab again selects File Explorer again and switches to the same window instead of VMware.

2026-07-13.20-54-43.mp4

@Louis047 Louis047 mentioned this pull request Jul 14, 2026
@Louis047

Copy link
Copy Markdown
Contributor Author

@AromaKitsune Fixed the issue, please do test it and let me know if its fully fixed 👍

@AromaKitsune

AromaKitsune commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Child/Dialog windows confirmed fixed.
@sjain882 Please test this updated mod with MFC apps. I tested it only with an ATL/WTL app.

2026-07-14.14-23-32.mp4

@Louis047

Copy link
Copy Markdown
Contributor Author

Waiting for @Asteski to add few improvements to Acrylic style.

@sjain882

Copy link
Copy Markdown

Child/Dialog windows confirmed fixed.
@sjain882 Please test this updated mod with MFC apps. I tested it only with an ATL/WTL app.

2026-07-14.14-23-32.mp4

I can confirm that child/dialog windows are fixed for VS2015 and MFC apps

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.

4 participants