Skip to content
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

Mouse input blocked in Wayland KDE Plasma 5 #197

Open
nitrogar opened this issue Mar 9, 2024 · 10 comments
Open

Mouse input blocked in Wayland KDE Plasma 5 #197

nitrogar opened this issue Mar 9, 2024 · 10 comments

Comments

@nitrogar
Copy link

nitrogar commented Mar 9, 2024

Describe the bug
I am using Manjaro in Wayland with two monitor setup, and when i start gromit the screen freezes until i kill gromit.
the problem does not happen on xorg only Wayland.

I would like to help in finding the bug more precisely but i don't know how to debug it since it freezes the screen upon launch

but I noticed that not all the desktop environment are frozen I can spawn terminal using short-cut but the mouse pointer disappear and i cant interact with any opened window

To Reproduce
just directly launching gromit on wayland

Environment (please complete the following information):

  • Gromit-MPX version: Gromit-MPX 1.5.1

  • Flatpak or Distribution-package or Built-from-source: AUR gromit-mpx

  • OS and version: manjaro

  • Desktop Environment and version: KDE Plasma

  • X11 or Wayland session: wayland

  • Operating System: Manjaro Linux

  • KDE Plasma Version: 5.27.10

  • KDE Frameworks Version: 5.115.0

  • Qt Version: 5.15.12

  • Kernel Version: 6.1.80-1-MANJARO (64-bit)

  • Graphics Platform: Wayland

  • Processors: 24 × AMD Ryzen 9 3900X 12-Core Processor

  • Memory: 31.3 GiB of RAM

  • Graphics Processor: AMD Radeon RX 6500 XT

@nitrogar nitrogar added the bug label Mar 9, 2024
@bk138 bk138 added the wayland label Mar 11, 2024
@bk138 bk138 changed the title gromit freez the screen in wayland Mouse input blocked in Wayland KDE Mar 11, 2024
@bk138
Copy link
Owner

bk138 commented Mar 11, 2024

OK, can repro on KDE Wayland Manjaro using Gromit-MPX flatpak.

@bk138 bk138 changed the title Mouse input blocked in Wayland KDE Mouse input blocked in Wayland KDE Plasma 5 Mar 11, 2024
@bk138
Copy link
Owner

bk138 commented Mar 11, 2024

Seems like a Plasma bug/feature w.r.t https://docs.gtk.org/gtk3/method.Widget.input_shape_combine_region.html - maybe upgrading to Plasma 6 might help?

@srikargottipati
Copy link

srikargottipati commented Mar 13, 2024

I encountered the same issue on Plasma 6 Wayland too. Gromit tray icon does not even respond to mouse clicks. Atl+F9 also does not kill gromit, not fix the issue either.

@bk138
Copy link
Owner

bk138 commented Mar 13, 2024

Hmm works in GNOME Wayland. Could someone open a report at upstream KDE and link this here? I can provide technical details then.

@bk138
Copy link
Owner

bk138 commented Mar 20, 2024

Investigate #136

@lmtreser
Copy link

Hello!
I'm running Kubuntu and I have the same problem. I am available to help. Greetings.

Operating System: Kubuntu 23.10
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.10
Kernel Version: 6.5.0-27-generic (64-bit)
Graphics Platform: Wayland

@bk138
Copy link
Owner

bk138 commented Apr 10, 2024

@lmtreser thanks a lot! If you're fit in C coding, what would help is a minimal gtk-based program to reproduce the issue for upstream KDE that creates a simple window that via gtk_widget_input_shape_combine_region() is transparent to input (lets clicks though) on KDE X11 but not KDE Wayland. This basically is what Gromit-MPX does.

@lmtreser
Copy link

Hello!
When updating Kubuntu to 24.04 LTS, several things that didn't work are now OK... For example Gromit. Solved!

@bk138
Copy link
Owner

bk138 commented May 1, 2024

@lmtreser can you post your exact KDE version for us please?

@lmtreser
Copy link

lmtreser commented May 2, 2024

I rushed to post this message, because I just realized that by default Kubuntu 24.04 starts the session in X11 and not in Wayland... The problem persists on the Wayland session 😔.

Operating System: Kubuntu 24.04
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.13
Kernel Version: 6.8.0-31-generic (64-bit)
Processors: 4 × 11th Gen Intel® Core™ i3-1115G4 @ 3.00GHz
Memory: 7.4 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

4 participants