Bug 450747

Summary: Allow docks/panels to be defined to stay on top/below other docks
Product: [Unmaintained] lattedock Reporter: ryu.ketsueki
Component: applicationAssignee: Michail Vourlakos <mvourlakos>
Status: RESOLVED INTENTIONAL    
Severity: wishlist    
Priority: NOR    
Version First Reported In: git (master)   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description ryu.ketsueki 2022-02-23 11:59:50 UTC
SUMMARY
This is more of a request than anything. There are many layouts that use many docks or panels that overlap one another visually. However, when clicking in the one below, it raises and covers the other one. While not a bug on its own, it would be cool to have some way to keep certain docks or panels below other ones, kinda like a layer system. I tried something using Kwin rules but either it doesn't work on Wayland to keep a panel below another one or it doesn't work at all.

This is also great for layout polishing, since the outline and shadows of a panel can stay below instead of appear on top of another one.
Comment 1 Michail Vourlakos 2022-02-23 12:30:57 UTC
This is not possible. BTW show me such an overlap to understand your scenario
Comment 2 ryu.ketsueki 2022-02-24 11:43:22 UTC
The scenario is, I use several docks for a specific effect that would otherwise not be possible with a panel. The effect can be seen here:
https://i.postimg.cc/W3yZSTKf/Flameshot-20220224-083743.png

For maximized windows, I use your Applet Window Buttons to display the window buttons on the top right, as it is more natural for everything instead of using them on the left. However, because those on the top are docks and only one of them slides the buttons in and out, the other dock that is next to it, doesn't move. What I did, was place another Window Buttons Applet on the other dock and, because the docks on the top become opaque when a window is touching them or maximized, the second applet is not visible, that is, until I interact with that dock. In that moment, it covers the first one. Here is the effect:
https://i.postimg.cc/zXFctQzF/Flameshot-20220224-083700.png

Another option would be to define the dock's position based on another one and define the offset manually so I no longer need the second Window Buttons Applet.