Mouse steals selection

When Window-Switcher is called I can move up or down the list with the keyboard just fine. But if I make motion with the mouse it "steals" the selection.

While this is exactly the Apple behaviour, it's wrong. Mouse over should "highlight" the selection, but not "select" it. Only "click" selects, not "mouse-over".

How I think the window-switcher should work:

  • keyboard controls the PRIMARY highlight, and, when released, switches over to it.
  • moving the mouse creates a SECOND, lower priority, lower visibility, highlight
  • only if the mouse is CLICKED over a selection it will take priority and switch over to that window

I suppose this is slightly unnatural for apple-only users, but this is how things usually work on other OSes. So, if implemented this should be an option, as to not break behavior to which many people are used to.

P.S. thanks for the great app, it's been indispensable for years now!

I realised that simply moving the mouse away from the Window Switcher is a brute-force way to solve this, but, I think, the previous message offers a more consistent solution.

Mhh that would require quite deep changes because it was especially built for this behavior (I personally like that I can combine mouse and keyboard selection like this, i.e. search for something by moving the mouse - for clicking I'd expect it to activate the window like it currently does)

Than it's not worth it, Andreas, but thanks anyway.

Dont you get confused when you cmd-tab and suddenly a random application gets seleted just because the mouse happened to be on top of Window Switcher? Of course, this is most obvious when "Open centered on screen with mouse" is selected.

ah, I usually use the "mouse centered left" option.
For the centered on screen option I should probably make it ignore the mouse if it was opened with the mouse hovering it - and only reactivate the mouse selection if the mouse is moved back inside into the switcher. This should be easier to do.

Indeed, that would be great.

And when looking for solution I noticed that people are generally looking for a way to ignore mouse hover or mouse click, so this might find additional uses.

Btw, I actually tried to do something like "Remeber mouse position -> Move mouse to 0,0 -> Open Window Switcher -> Restore mouse position on key up", but couldnt get it right.

Seems that "On key up", when doing multiple-key combination (cmd+tab), reads as key up releasing tab while still keeping cmd down. So this is another (admittedly, very edge case) where things might be improved.

Not sure how clear my explanation is, what I mean is:
"On key up" is actually two cases:

  • "On key up of any of the pressed keys"
  • "On key up of all of the pressed keys"

That might be an interesting addition to BTT's keyboard shortcut functionality. You could already achieve it by using a combination of key sequences and keyboard shortcuts, but it would be better if it would be integrated into keyboard shortcuts. I'll have a look at this.

2 Likes