lwouis / alt-tab-macos

Windows alt-tab on macOS
https://alt-tab-macos.netlify.app
GNU General Public License v3.0
10.19k stars 316 forks source link

Window selection sometimes automatically jump or scrolls. #3466

Closed Element9 closed 1 week ago

Element9 commented 1 week ago

Describe the bug

When the mouse cursor is where AltTab appears when triggered, it sometimes skips to the next window by itself. And sometimes it even starts scrolling through windows without any input from mouse and keyboard. I am not touching the mouse at all for this to happen. It just needs to be positioned in the "right" place. This never happens when mouse is not over AltTab.

Screenshots / video

https://github.com/lwouis/alt-tab-macos/assets/1780265/c39a5b43-ae23-4a10-b719-7a3cdb1c8da3

Screenshot 2024-07-05 at 11 48 54 Screenshot 2024-07-05 at 11 49 28

Steps to reproduce the bug

  1. Set up AltTab to be triggered with Command+Tab (for instance)
  2. Position the mouse where AltTab will appear when triggered. I can't be 100% sure, but I think the position of the mouse is important, though I can't say how to position it exactly in order to reproduce the problem. I can't reproduce it every time, but it's pretty easy for me to reproduce after few tries.
  3. Press Command+Tab, release Tab and keep holding Command

Expected: Next windows is selected Observed: After a moment, the selection jumps to the next window or starts auto-scrolling through the windows before stopping again. Auto scrolling is what you can see in the attached video.

Your environment

Element9 commented 1 week ago

If it really is caused by mouse position, a potentially easy workaround that would work for me would be to have an option to completely disable mouse interactions with AltTab.

iamkevindu commented 1 week ago

This app is fantastic and this is really the only "issue" I have with it. Issue is in air quotes because it is pretty rare that it happens (about once every 20 alt-tab's).

Also, i'm happy I found this bug report. I was going to report it but was not sure how to put it into words, or capture the bug happening.

Dimezis commented 1 week ago

I'm having the same issue occasionally. AltTab might be working fine for a month and then just start doing this without a clear pattern. Restarting the app always fixes this for me.

markkkkas commented 1 week ago

I have this issue as well and can't actually reproduce it constantly.

stampycode commented 1 week ago

I'm having this issue nearly every time I use alt-tab, and it's very frustrating! I'm tempted to stop using it just because of this.... I wonder if it's because of system load? I'm a pretty heavy user and have a lot of stuff open, but it's not rendering thumbnails or anything....

markkkkas commented 1 week ago

I've unchecked everything from here and it looks fine now

image
lwouis commented 1 week ago

Duplicate of https://github.com/lwouis/alt-tab-macos/issues/3117