Bug 404773

Summary: Windows Geometries and Show Desktop Effect dont play well with new Latte features
Product: [Plasma] kwin Reporter: Michail Vourlakos <mvourlakos>
Component: effects-variousAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: jacobtey
Priority: NOR    
Version: 5.15.1   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Michail Vourlakos 2019-02-24 14:52:39 UTC
SUMMARY
I really dont know if this is an issue or if there is way to catch the case and as such to solve it in Latte.

Latte introduced some new features in order for windows that are touching the Latte panel to be identified and as such to use some of their characteristics such as their color scheme to the Latte panel.

Unfortunately this does not play well with ShowDesktop Effect. When windows are slide out from a Hot Edge or Corner their geometries and their Maximize states are not altered. And that way Latte can not identify that these windows are not touching Latte any more. I have to say that this is an X11 case I dont know yet what happens under wayland.

Do I miss something here?


SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.15.1
KDE Frameworks Version: 5.55.0
Qt Version: 5.12.0
Comment 1 Michail Vourlakos 2019-02-24 14:53:08 UTC
*** Bug 404483 has been marked as a duplicate of this bug. ***
Comment 2 Martin Flöser 2019-02-24 16:14:39 UTC
Your assumption is wrong: you assume that the x geometry matches the visual geometry. Any effect is able to change the visual position of windows without adjusting the x geometry. In fact the window manager component of KWin does not know what transformation is applied on a window.

For latte there's no way to figure that out. BTW. I would base it on the active window and not on some form of touching.