-
-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mouse.exited is not reliable. #613
Comments
Update: |
@FelixKratz I'm going insane. please fix this issue. I'll pay you $50 if you can do this by (the end of) next month. On hover, many popup items get stuck. This is super annoying and frustrating. It is disrupting everything, and I'm not willing to disable it because you haven't introduced right/click vs left/click functions, so I can't use two seperate functions per bar item unless you fix this and/or add left/right click seperate specifiers. On highlight, I like to draw a tooltip/popup. after I move the mouse over another item, it should go away. I find myself using mouse.exited and mouse.exited global on nearly all elements. Currently, even when I don't highlight anything, sometimes these popups open and get stuck there. a lot of times, its all of my popup items. Please fix the reliability issue of the mouse.exited and mouse.exited global events, as well as optimize them. They are really slow; testing on m1 macbook air. I've been using sketchybar since ventura, and I've been having this issue since then. I am on Sequoia, 15.0.1. sketchybar-v2.22.0. Thanks. |
My sketchybar config is found here: |
I remember having looked at this problem for quite some time in the past. I have tried to improve the mouse exit event handling on master. |
This is insane. This seems to be a very different story. I loaded up several things and it seems to be working effectively.
I'd say it definitely solved my problem. |
@FelixKratz will you be able to push that change to a release soon? |
I think I will test it for some days and then do a release sometime next week. |
A best example is to allow all space icons to highlight when mouse.entered for that item.
mouse.exited doesn't always turn highlight off when I move away the mouse.
I've worked around this by also using mouse.exited.global, but that's kinda a bad solution.
Right now, this means that if I move the mouse quick enough over other sketchybar items, because I've set them to show popup on hover, the item's popups sometimes get stuck open.
This is bad. like, really bad. because when you highlight the popup, it forgets to update certain items when mouse.exited.global is triggered.
So, SOMEtimes I just have random popups stuck open.
This would be solved in 2 ways:
1 - by me. I would have to specify in the config, under mouse.entered, remove popups of ALL other items. This would be an iterative script implementation, which would likely be slow, but it would solve my issue of popups getting stuck forever.
2 - by you. You would likely be able to solve this much more efficiently, and the best way I think would be to improve the reliability of mouse.exited event specifically.
The text was updated successfully, but these errors were encountered: