mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 14:40:25 +01:00
Focus follows mouse trouble (Windows menus) #92
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Lethaquell on GitHub (Jun 6, 2022).
Trouble showcase:
https://user-images.githubusercontent.com/8237884/172089369-799e03f3-9edb-49dd-b970-666e425fc079.mp4
So, I really like this feature in general, cause I don't have to click on a window to get it focused, but some Windows menus (i.e Start Menu, or quick settings) just keep closing if you aren't fast enough to move your mouse before the animation ends.
It also happening sometimes with PowerToys Run if you type something, then delete and Run just disappears cause mouse is somewhere else. (Can I set some rule to move mouse cursor right on PowerToys Run?)
Is it possible to somehow bypass this problem right now, without having focus follow disabled?
@LGUG2Z commented on GitHub (Jun 6, 2022):
@Lethaquell Can you confirm if you are running
komorebic startorkomorebic start --ffm? The latter is a custom implementation which (should) handle cases like this in a less frustrating way, however, this comes at the cost of slightly higher CPU utilizationThe custom ffm implementation is kept behind a flag because regardless of if it is enabled or not, it still increases CPU usage.
More info in this part of the readme.
@Lethaquell commented on GitHub (Jun 6, 2022):
I'll try this when I get home.
Currently I'm using a .vbs script to run
komorebic startwhen my PC starts.@Lethaquell commented on GitHub (Jun 6, 2022):
@LGUG2Z

I've started
komorebic start --ffmIssue is still there but happens every 3rd-4th try, instead of every single one (like shown on the video).
UPD:
Tested it for like a minute or so. Maybe it happens even more often, then I stated before. For PowerToys Run nothing changed, still closing after I'm deleting what I've entered.
Also I'm having this
And CPU fans going nuts also.
After I did
komorebic stopfans goes completely silent.@LGUG2Z commented on GitHub (Jun 6, 2022):
I guess "more CPU usage" is relative to the actual CPU you're running; what is a little on my Ryzen might not be the case for everyone. 😅
Unfortunately the default FFM is just turning on a Windows flag for a feature that probably dates back to Windows 95 (or earlier?) that hasn't been kept up to date to be useful on current versions of the OS.
The custom implementation as you can see is still pretty experimental, but experimental in the sense that I have reached the limits of my knowledge in being able to tweak it for better performance and resource utilization.
The most practical advice that I can offer right now is have the
komorebic toggle-focus-follows-mousecommand set to a convenient hotkey so that you can quickly toggle it off when you come across the kind of behaviour that prevents you from doing what you want (like in the video).If you come across any dedicated FFM utilities that work well, please share them here and I'll see if it is possible to integrate them. 🙏
@Lethaquell commented on GitHub (Jun 6, 2022):
@LGUG2Z
Sure thing I'll do!
Thanks for advices. For me it isn't the hell of an issue, cause I'm still able to use komorebic at ease. Just have to write to PowerToys Run in 1st attempt and be fast enough to use quick settings, etc.
Right now I'm trying to create a custom layout for my first workspace (It's Edge + Telegram) so Edge consumes like 60+% of my screen.
Anyways, keep up your great work!