Ordering bug with Window Switcher

I'd love to use the window switcher, but currently I can't because it often catapults me to the wrong window. Here's how to simply reproduce this bug:

I have a keyboard shortcut for Show Window Switcher for All Open Apps. I activated the option On Repeat Trigger: Select Next Window in List. And for sort I have Last Used / Stack Order (All Desktops Mixed).

To trigger the bug open two windows of different apps on one space and one window in another space. For example I have one chrome window on space 1 and one chrome window and a vs code window on space 2. Say the chrome window is in the foreground of space 2 and I trigger my shortcut to cycle to the chrome window on space 1. It correctly moves the space and now shows me the chrome window on space 1. Now, if I trigger my shortcut twice, I expect to get to the vs code window on space 2, which was in the background. This also works. But at this point I notice a little flicker, as the space moves from 1 to 2, the chrome window was in the foreground for a split second and then vs code is brought to the foreground. And this is where the bug occurs: If at this point I hit my shortcut once again, I'd expect to get back to the chrome window on space 1, because that's what I had last open. However the window cycler now has sorted the chrome window on space 2 as the second window, because of that little flicker that showed it in the foreground for a split second.

Note: this same thing actually works as expected if the 2 windows on space 2 are off the same app. So say we replace the vscode window on space 2 with a third chrome window, now everything works as expected. It's only not working if the 2 windows are of different apps.


Here a screenshot of my settings:


Device information:

  • Type of Mac: MacBook Pro 16-inch, Nov 2023
  • macOS version: Sonoma 14.6.1
  • BetterTouchTool version: 4.699

I have similar problem with the order of the app. I don't know how I reproduce the bug that I have, but I believe it has something to do with Stage Manager. I hope they can get it fixed since I am having problem with AltTab quitting / existing after my Mac is in sleep mode for a while. I have Sequoia 15.1 running currently.