TL;DR: Linux tablet. After resume from suspend followed by an external display hotplug (HDMI), KWin stopped delivering mouse events to any surface. Keyboard input, cursor rendering, compositing, and screen edges all continued working normally. Touch events kept being delivered to the focused window, but tapping on another window did not focus the other window. KWin kept working processing libinput events. Idk how to reproduce and am trying to descibe the issue to understand if it’s worth of a bug report
Hi
I’m not sure this deserves a whole bug report because I do now know how to reproduce the issue
I tried using an LLM to help me a bit understand what to collect to perhaps help, but since I don’t know how to reproduce it (or even how I got to see the issue), I guess I can start out here
Details about the system
Hardware
Asus Z13 2025
GPU: AMD Radeon 8060S Graphics
Software
Arch Linux
Linux 7.1.4-1-g14 (kernel from asus linux)
kwin_wayland --version
kwin 6.7.4
HID
USB keyboard + touchpad (the laptop one)
Graphic tablet / touch screen
Bluetooth mouse
Bluetooth keyboard
What I did:
I connected the laptop to an external monitor and immediately found the mouse not working: clicking on a window did not focus it, scroll wheel did not do anything.
The only working interaction with the mouse was with the corner gesture, which in my case brings up the currently opened windows in the virtual desktop. I could click on a window to select it, and after that the mouse stopped working again.
all KDE UI also did not work when clicking with the mouse (so dragging and dropping text or the corner of a window, as well as the menu bar)
I tried disconnecting the screen to see if the situation would solve itself; it didn’t.
The first thing I tried to do was using the keyboard, which worked (so I could switch between the programs using alt+tab and I could type).
Since the keyboard worked, I was able to use KRunner to start a console
Interestingly, the touch input “worked”: touches were recognized (e.g. the blue expanding circles were visible) and I could interact with the focused window (e.g. scroll, long-tap to select), but I could not change the focused window even tapping on it. I did not try with the pen.
I was able to record a video with the phone and, interestingly, the system started working again as I was playing around with the
libinput was still collecting events and that’s where my knowledge stopped unfortunately, everything that follows was done with the help of AI
I tried popping up the debug console (qdbus org.kde.KWin /KWin showDebugConsole), but I could not interact with it. By interacting I mean I could not focus it (even using alt+tab, as it was not listed among the apps), so I could not interact with it even with the touch. This means I had this window drawn over the center of the screen and was unable to do anything with it.
I tried collecting some logs (LLM nudged me, e.g. qdbus org.kde.KWin /KWin supportInformation), so I guess I’m attaching the logs if they’re helpful
KDE KWin not registering mouse inputs · GitHub (I could not attach them as txt files here)
The issue “solved itself” with me alt-tabbing and touching the screen, and all of a sudden the debug console started responding to touch input (as I eventually managed to focus it by touching it). after that, I tried the mouse and that worked as well (I have this documented in a video, as I was recording the situation before doing a hard reboot).
I don’t really know where to publish the video (as I cannot attach mp4 here), so here is a YT link: https://youtu.be/RQnQEyAG8IQ