Mouse Clicks Intermittently Stop Working

Hi,

New Opensuse here. First forum post.
My mouse clicks intermittently stop working. Both the touchpad and mouse clicks don’t work. However, the pointer moves and window items get highlighted.
The issue is not bound to a particular application.

The issue seemed similar to the one described here: https://unix.stackexchange.com/questions/369097/mouse-left-click-stops-working
AND the most upvoted workaround works too – switching to another TTY and back.
However, the issue respawns in a ~1-2 minutes.

I tried testing with evtest and evtest indeed does capture my click.

I also tried capturing X11 logs with xdotool key "XF86LogGrabInfo".

From this, I suspect kwin_x11 could be involved. However, I tried switching to Wayland and the issue persisted, now with kwin_wayland having similar ‘grab’ logs.

The issue persists with a different user.

I tried removing KDE configs from the ‘Home’ directory, to no avail. I also tried reinstalling kde and kde_plasma packages to no avail.

I tried using an earlier 6.14.x kernels and the issue persists with them.

Unfortunately, I do not have older snapshots so I am not able to rollback.
Any help will be appreciated.

Here is my system confiuration:
Operating System: openSUSE Tumbleweed 20250617
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.14.0
Qt Version: 6.9.1
Kernel Version: 6.15.2-1-default (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i5-8265U CPU @ 1.60GHz
Memory: 7.6 GiB of RAM
Graphics Processor 1: Intel® UHD Graphics 620
Graphics Processor 2: NVIDIA GeForce MX150
Manufacturer: ASUSTeK COMPUTER INC.

“when” did it stop working?

After initial installation of TW?

Or it has worked since orig install , but after a recent update, it stopped working?

Or some “other” event, it stopped?

It has worked since original install.
I noticed that it stopped working about 10-12 days ago. Yes, I had updated TW two weeks ago.

Try upgrading to the latest TW snapshot and report back.

If you have konsole open, and this occurs, try issuing

plasmashell --replace &

Does that restore the pointing device click functionality again?

FWIW, a similar thread:
https://www.reddit.com/r/kde/comments/1bhpeg6/kde6_become_unresponsive_to_clicks/

I haven’t trawled for bug reports.

Run the following in a konsole
sudo libinput debug-events
and observe whether the click events are captured, even when not being processed by the Plasma desktop.

Consider reporting it as a bug, and make sure to include the above libinput logging results, the kinfo output, the state of any apps when it occurs. It might be useful to know what is running in the session…
ps -u $USER -o pid,cmd --forest

Report at
https://bugs.kde.org/enter_bug.cgi?product=plasmashell

Thanks for your help.
I updated to 20250618 and have been testing for the past 3-4 days.

The issue has not reoccurred since then.

Thank you!

1 Like

Another update. The issue persists.
FWIW, I see that this issue is common to some other distros since last month: Fedora 42 KDE bug - Fedora Discussion

There seems to be a GNOME-specific bug with exactly same symptoms recently: Windows (and sometimes gnome-shell elements) become unclickable (#4138) · Issues · GNOME / mutter · GitLab

Logs from journalctl --boot=0 contain this after the clicks fail. I am still checking if this is directly related to the failing clicks.

Jul 12 00:28:13 localhost.localdomain kwin_x11[1596]: kwin_core: XCB error: 152 (BadDamage), sequence: 43944, resource id: 10693794, major code: 143 (DAMAGE), minor code: 2 (Destroy)
Jul 12 00:28:13 localhost.localdomain kwin_x11[1596]: kwin_core: XCB error: 3 (BadWindow), sequence: 43945, resource id: 25166417, major code: 129 (SHAPE), minor code: 6 (Input)
Jul 12 00:29:11 localhost.localdomain kwin_x11[1596]: kwin_core: XCB error: 152 (BadDamage), sequence: 50440, resource id: 10694673, major code: 143 (DAMAGE), minor code: 2 (Destroy)
Jul 12 00:29:11 localhost.localdomain kwin_x11[1596]: kwin_core: XCB error: 3 (BadWindow), sequence: 50441, resource id: 25166419, major code: 129 (SHAPE), minor code: 6 (Input)

I suspect kwin_x11 is crashing? I’ll update this post if I find anything further.