-
-
Notifications
You must be signed in to change notification settings - Fork 21.1k
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
Track hovered Window
in DisplayServerX11
#80279
Track hovered Window
in DisplayServerX11
#80279
Conversation
I tested this PR and it resolves #80335. One small problem: the mouse may teleport occasionally. |
Can you provide more detail, in which situations cursor-teleports happen? |
A mouse icon appears in the center of the window when the left mouse button is released (drag to modify the value). I tried to record the screen, but failed. This problem is reproduced in both Cinnamon and i3wm. I rebase it on 16a9356, then build with the following command: |
This PR seems to cause a new crash:
0.mp4 |
This crash is also tied to the same issue and gets resolved by #80187. I have tried to cause the crash on Cinnamon, but even after several minutes of testing and experimenting, I was unable to replicate it. |
Maybe it's due to the better performance of your device. These issues are easier to reproduce with slower builds. A build compiled with
Maybe you can try a slower build, e.g. build with |
Send mouse-entered/exited window-events only when necessary
0d54d2b
to
a7c5849
Compare
Finally I was able to track down the crash, that you experience @Rindbee. Updated PR is available. |
Did a brief test of the PR on KDE / X11, didn't notice any issue when testing with sub-windows (detached script editor, editor settings, create dialog). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks fine, and I didn't notice any obvious regression on KDE / X11.
This code can be tricky though so tests on more DEs / Wayland may be useful.
Thanks! |
x11 i just add pressed() signal |
Send mouse-entered/exited window-events only when necessary
fix crash of comment #79325 (comment)
resolve for linux #80335