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 regression: Layershell never releasing mouse again, once it is set to exclusive #7936
Comments
So I did some more testing, and my suspicion seems to be confirmed by https://github.com/wmww/gtk-layer-shell To reproduce the issue: git clone https://github.com/wmww/gtk-layer-shell
cd gtk-layer-shell
meson setup -Dexamples=true build
ninja -C build
build/examples/gtk-layer-demo Now setting keyboard from none to exclusive and back to none makes it impossible to focus any other window until either gtk-layer-demo or sway is killed. |
@Nefsen402 maybe you got an idea? |
@feschber can you test this on Sway 1.9? the lan-mouse software KVM project cited this bug as a blocker for using their app, but the developer has tested with Sway 1.9 and not encountered the bug. |
That's me, I'm the developer ;) @Nefsen402 has there been a change since release 1.9? I don't encounter this bug with sway 1.9 from the Arch repos. |
Yes, a large PR that rewrites and reworks all of sway's rendering code has landed in the current development version. This bug is a result of a regression the PR introduced. |
Did this bug not make it into 1.9, even though it appeared in git a week or more prior to 1.9's release? |
The branch point for 1.9 has been created long before 1.9's first RC. |
I'm also seeing this as of 2686afb.
I tried
I think the issue comes from the switch to scene-graph, and that's probably all the information we can get out of bisection anyway. |
Setting the layershell keyboard interactivity to
exclusive
and thennone
makes it impossible to focus windows.This must be a recent regression possibly related to the
scene_graph
api.Might be related: #7918
swaymsg -t get_version
orsway -v
I tried to bisect but could not get an exact commit
it must be one of the following
Description:
The relevant code can be found here: https://github.com/feschber/lan-mouse/blob/5cc8cda19d2bef25cff0d767361d0622a8fbf3e8/src/backend/producer/wayland.rs#L407-L487
The text was updated successfully, but these errors were encountered: