-
Notifications
You must be signed in to change notification settings - Fork 179
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
layer-shell: strange behavior if keyboard interactivity is set before showing the view #2449
Comments
Nice catch. After setting the keyboard mode to NONE, it only works as intended after focusing on another view, excluding the dialog. The issue is that the input still retains keyboard focus, and the update only occurs after a keyboard focus change. |
|
The following seems to fix this issue for me (although I'm unsure if it would have additional side-effects, related to the other elements in
|
Describe the bug
If keyboard interactivity is set before initially showing (mapping) a layer-shell view, it takes effect, but is not fully updated the next time.
To Reproduce
Steps to reproduce the behavior (Python example below):
Expected behavior
Keyboard focus is lost immediately.
If steps
#2
and#3
are swapped, it works as expected.Wayfire version
git: 44e1fa9
Simple example
Use the buttons to switch keyboard interactivity settings:
The text was updated successfully, but these errors were encountered: