Bug 404773 - Windows Geometries and Show Desktop Effect dont play well with new Latte features
Summary: Windows Geometries and Show Desktop Effect dont play well with new Latte feat...
Status: RESOLVED NOT A BUG
Alias: None
Product: kwin
Classification: Plasma
Component: effects-various (show other bugs)
Version: 5.15.1
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
: 404483 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-02-24 14:52 UTC by Michail Vourlakos
Modified: 2019-02-24 16:14 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

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