Bug 502339 - Kwin hangs for mouse and touch input
Summary: Kwin hangs for mouse and touch input
Status: REPORTED
Alias: None
Product: kwin
Classification: Plasma
Component: input (other bugs)
Version First Reported In: 6.3.4
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2025-04-02 22:59 UTC by Kamil Piwowarski
Modified: 2025-04-15 12:36 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kamil Piwowarski 2025-04-02 22:59:20 UTC
SUMMARY

Sometimes kwin starts to not responding to mouse and touch (from touch screen) events. This behavior is strange:
- I can move mouse cursor everywhere
- I am not able to click on plasma panel
- I am not able to click on window decoration (only client side decorations works)
- I am able to click on window content, copy text, browser tabs etc.
- Touch screen doesn't work anywhere
- Keyboard is working as expected, I can use any global shortcuts)

The only way to make the mouse buttons work is to close a lid (to make a laptop sleep) and then open and unlock. Touch screen still doesn't work. To make touch screen working as expected I have to open terminal using global shortcut and run "kwin_wayland --replace". 

After some time it repeats. Sometime when this starts (when my window is not maximized) I can see something like „mouse / touch selection - blue rectangle” on my desktop next to the window.

In Plasma 6.2 it doesn't happen.

STEPS TO REPRODUCE
 I am not able to reproduce that - it happens randomly during my workday

SOFTWARE/OS VERSIONS

Operating System: Manjaro Linux 
KDE Plasma Version: 6.3.3
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.3
Kernel Version: 6.14.0-1-MANJARO (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 PRO 6850H with Radeon Graphics
Memory: 30.6 GiB of RAM
Graphics Processor 1: AMD Radeon RX 6500
Graphics Processor 2: AMD Radeon Graphics
Manufacturer: LENOVO
Product Name: 21D4CTO1WW
System Version: ThinkPad Z16 Gen 1
Comment 1 Kamil Piwowarski 2025-04-15 12:35:52 UTC
It always starts when I touch my screen - nothing happens (touch doesn't work) and after some time the mouse input also stops.