Bug 436704

Summary: Input stacking order and visual stacking order can get out of sync
Product: [Plasma] kwin Reporter: Vlad Zahorodnii <vlad.zahorodnii>
Component: coreAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: nate, richard.delorenzi
Priority: NOR Keywords: wayland-only
Version First Reported In: git master   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Vlad Zahorodnii 2021-05-06 19:58:18 UTC
STEPS TO REPRODUCE
1. Open Firefox
2. Open Konsole
3. Start some command in Konsole that doesn't terminate
4. Raise the Firefox window
5. Click the close button in Konsole
6. A confirmation dialog will popup, click the Cancel button

OBSERVED RESULT
After the last step, Firefox has input focus, but Konsole is above it

EXPECTED RESULT
Firefox has input focus and it is the top most window
Comment 1 Vlad Zahorodnii 2021-05-06 20:06:58 UTC
On one of my machines, pointer input goes through the Konsole window, but on the other machine, it doesn't.
Comment 2 Bug Janitor Service 2021-05-06 20:21:49 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/945
Comment 3 Vlad Zahorodnii 2026-01-22 12:55:11 UTC
It doesn't happen for me in 6.6 beta anymore.