-
Notifications
You must be signed in to change notification settings - Fork 158
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
after unlocking from swaylock: phantom keypress events #1114
Comments
I can't reproduce this here, but I could hardly reproduce this phantom keys anyway. |
@johanmalm I guess we don't reset the pressed state of the keybind here (via Maybe its enough to just move the two That way we should allow the release event of a bound key to be reset even though the input is already inhibited / locked. |
Do not withhold the release event associated with a keybind which executes a keyboard-input-inhibiting client like swaylock. In other words, make release-events of absorbed keys (those used up by a keybind) de-register as such even though session-lock or input-inhibit is in-force. Fixes: issue labwc#1114 Helped-by: @Consolatis
I can reproduce the bug and confirm that #1115 fixes it. Thanks @Consolatis for analysis + tell me how to do it.
|
Do not withhold the release event associated with a keybind which executes a keyboard-input-inhibiting client like swaylock. In other words, make release-events of absorbed keys (those used up by a keybind) de-register as such even though session-lock or input-inhibit is in-force. Fixes: issue #1114 Helped-by: @Consolatis
Should be fixed by latest master thanks to @johanmalm :) |
The above test succeeds now. Thank you! |
Hi,
this is probably closely related to #1091. I am using labwc from git where the according PR has been integrated.
I am using
<keybind key="W-l"> <action name="Execute"><command>swaylock</command></action> </keybind>
.I receive phantom
l
(small "L") keypress events in the following situation. This is always reproducable:W-l
PW
+Enter
to return into bashl
onceResult: Then I receive
lllllllllllllllllll....
until I doctrl-c
.Note: This does not happen when I press another key after unlocking. Only
l
tiggers that. Which may be related to myW-l
mapping.The text was updated successfully, but these errors were encountered: