Bug 436421

Summary: Shaded window unshades if cursor enters anywhere within full window extents
Product: [Plasma] kwin Reporter: ventyl86
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: minor Flags: ventyl86: Wayland+
Priority: NOR    
Version First Reported In: 5.21.4   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description ventyl86 2021-04-30 19:42:47 UTC
SUMMARY
If KWin / Plasma is ran on Wayland, then after Window is shaded, it unshades automatically once cursor enters extents originally occupied by unshaded window. Behavior is correct using X11.

STEPS TO REPRODUCE
1. Make sure, that "Window unshading" in "Advanced Window Behavior" tab of Window Manager preferences is enabled.
2. Open new window of whatever application, e.g. Konsole.
3. Shade it (mouse scroll or via context menu)
4. Move mouse cursor to leave window region to allow the window to shade, if it didn't shade already.
5. Move mouse cursor to lower part of region previously covered by the window, while avoiding window's title bar.

OBSERVED RESULT
Window will unshade automatically effectively preventing user from navigating mouse cursor into area occupied by window when unshaded.

EXPECTED RESULT
Window should remain shaded as shading shall only be activated on titlebar focus  as per step 1. This is how KWin behaves on X11.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Manjaro-ARM
(available in About System)
KDE Plasma Version: 5.21.4
KDE Frameworks Version: 5.81.4
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Vlad Zahorodnii 2023-01-17 13:39:05 UTC
I can't reproduce it. Reopen this bug report if the issue is still reproducible for you in 5.26 or 5.27