Bug 436421 - Shaded window unshades if cursor enters anywhere within full window extents
Summary: Shaded window unshades if cursor enters anywhere within full window extents
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (other bugs)
Version First Reported In: 5.21.4
Platform: Manjaro Linux
: NOR minor
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-30 19:42 UTC by ventyl86
Modified: 2023-01-17 13:39 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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