Open oskar-gmerek opened 2 years ago
+1
Similar issue? Feels like there is a mouse vertical offset that affects hovering and swapping windows:
@rsik Yeah, I think it is related.
I got the same issue:
If i disable the option focus follow mouse
the issue its solved.
@csepulveda
Solved is the mismatched word in that case. Nothing is resolved, and you are just disabling the affected option.
I noticed the same issue today, trying out the "focus follows" functionality for the first time. My configuration is tiled layout, focus follows mouse, and small dialogs (plus a few other windows) set to always float.
I am noticing the issue with small floating dialogs that disappear when I try to move the mouse over to them, AND with any windows set to always float. It does not happen to the Amethyst window, but I can reproduce reliably with the Notes Preferences window:
A workaround that almost works is to enable mouse-follows-focus: that will focus the keyboard at least, but as soon as you touch the mouse it gets covered up again, so still useless for configuration dialogs. Also it wont appeal to everyone (like me!) to have it turned on all the time, and a workaround shouldn't be necessary even if it did fix it. (It is also kind of jumpy, maybe mouse-follows-focus doesn't play nicely with focus-follows-mouse.)
Based on this I think the solution is:
3. Fix Shift-Option-J/K so that it also focuses floating windows. REASON: Even if they disappear at least you'll be able get them back. Also, this is the intuitive expectation.
This is #1069
As mentioned in the other issue: A solution would be to keep floating windows on top. That's what I'm used to from i3wm. The amethyst preference window does that but most other windows don't...
Describe the bug When focus follows mouse is enabled, floated windows and 'windows' like launchpad or spotlight losing focus on behalf of windows assigned to the layout.
Applications: Floated windows, launchpad, spotlight and most other modals, popovers or overlays
To Reproduce Enable focus follows the mouse option. Open a few apps, and change the layout. Open for example launchpad, move the cursor over launchpad windows without clicking anything, and focus will be lost on behalf of the app assigned to the layout.
Expected behavior the cursor should not detect windows below the window it is on. Or in other words, it should not follow the sections of a layout if it is moved within the window above the stack.
Screenshots
1. Initial position of cursor
2. Cursor just moved (without any clicks)
Versions:
Debug Info