Bug 450433

Summary: Touch input events are sent to the desktop and the panel doesn't respond to any touch events after the screen is off for a while
Product: [Plasma] kwin Reporter: Fushan Wen <qydwhotmail>
Component: inputAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal Keywords: wayland-only
Priority: NOR    
Version First Reported In: 5.24.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: WAYLAND_DEBUG=1 dolphin.log

Description Fushan Wen 2022-02-17 09:16:08 UTC
SUMMARY
If I turn off the screen for a while and turn on the screen, only the desktop will respond the touch events, the panel doesn't, and the window in the foreground doesn't accept touch events either and will forward all touch events to the desktop.

STEPS TO REPRODUCE
1. Turn off the screen for a while
2. Turn on the screen
3. Touch on the screen

OBSERVED RESULT
The debug console said there were touch input events, but only the desktop can respond to them.

EXPECTED RESULT
Normal behavior

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.24.0
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Fushan Wen 2022-02-17 09:23:25 UTC
Created attachment 146853 [details]
WAYLAND_DEBUG=1 dolphin.log

Dolphin log, no further logging lines after I touched on the screen and the window lost focus.