gromit-mpx icon indicating copy to clipboard operation
gromit-mpx copied to clipboard

Mouse input blocked in Wayland KDE Plasma 5

Open nitrogar opened this issue 5 months ago • 10 comments

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 avatar Mar 09 '24 15:03 nitrogar

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

bk138 avatar Mar 11 '24 08:03 bk138

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?

bk138 avatar Mar 11 '24 20:03 bk138

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.

srikargottipati avatar Mar 13 '24 16:03 srikargottipati

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

bk138 avatar Mar 13 '24 16:03 bk138

Investigate #136

bk138 avatar Mar 20 '24 14:03 bk138

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

lmtreser avatar Apr 10 '24 18:04 lmtreser

@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.

bk138 avatar Apr 10 '24 19:04 bk138

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

lmtreser avatar Apr 30 '24 20:04 lmtreser

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

bk138 avatar May 01 '24 15:05 bk138

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

lmtreser avatar May 02 '24 17:05 lmtreser