-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
Spurious keystrokes while switching between windows #7599
Comments
Ignoring some focus events can result in the client and server disagreeing on which window is focused or which keys have been pressed. The results are unpredictable and generally undesirable. Therefore, pass all focus events to clients. The mode is still overridden with NotifyNormal to avoid leaking window manager implementation details. Fixes QubesOS/qubes-issues#7599.
Ignoring some focus events can result in the client and server disagreeing on which window is focused or which keys have been pressed. The results are unpredictable and generally undesirable. Furthermore, it turns out that clients do care about the mode. Therefore, pass all focus events to clients, without clobbering the mode value. Fixes QubesOS/qubes-issues#7599.
Ignoring some focus events can result in the client and server disagreeing on which window is focused or which keys have been pressed. The results are unpredictable and generally undesirable. Furthermore, it turns out that clients do care about the mode. Therefore, pass all focus events to clients, without clobbering the mode value. Fixes QubesOS/qubes-issues#7599.
Please include exact steps to reproduce here in the issue description. By doing simple alt-tab, I don't see any extra keystroke events being sent, so there must be something more to it. |
I don’t remember the details, but I think the problem may have been missing focus events. |
That's what linked discussion suggests, but there is no specific issue details. And without ways to reproduce the issue, I can't verify if that change really fixes it (and won't accept the change blindly hoping it does). |
Per private discussion with @marmarek it looks like this may have been a bug in R4.0’s XFWM4 that is fixed in the R4.1 version. In any case, I am not able to reproduce this problem. Closing as “cannot reproduce”. If anyone finds a way to reproduce this bug, please comment here and the issue will be reopened. |
How to file a helpful issue
Qubes OS release
R4.1, but R4.0 is probably affected too.
Brief summary
When cycling between windows, qubes are sent keystroke events that they really should not be.
Steps to reproduce
See QubesOS/qubes-gui-daemon#98 (comment) and related discussion.
Expected behavior
No extraneous keystrokes.
Actual behavior
Extraneous keystrokes.
The text was updated successfully, but these errors were encountered: