Bug 458869 - Add configurable intersection rules to panel
Summary: Add configurable intersection rules to panel
Status: RESOLVED DUPLICATE of bug 336374
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (show other bugs)
Version: 5.25.5
Platform: Other Linux
: NOR wishlist
Target Milestone: 1.0
Assignee: Plasma Bugs List
Depends on:
Reported: 2022-09-08 09:44 UTC by Bence Racskó
Modified: 2022-09-09 04:35 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:

Screenshot of two-panel setup illustrating the feature request (2.88 MB, image/png)
2022-09-08 09:44 UTC, Bence Racskó

Note You need to log in before you can comment on or make changes to this bug.
Description Bence Racskó 2022-09-08 09:44:17 UTC
Created attachment 151919 [details]
Screenshot of two-panel setup illustrating the feature request

This is a feature request independent of the distro or plasma version, hence I will not use the standard template for the report.

When a multi-panel setup is used in which two panels are located on adjacent screen edges (eg. a Unity style setup, see the attached image), the panels have no collision detection and will overlap when their lengths are maximized. Moreover, this overlap will not be consistent as panels seem to have their own focus rules and if a widget or the panel itself is clicked, that panel will be raised over the other.

Non-overlapping panels can only be forced by manually resizing one panel, however it is difficult to do this exactly, i.e. without having a small gap between the two panels or them slightly overlapping. Furthemore, even if the proper panel size is gauged appropriately, due to the focus behaviour of panels, there are still visual inconsistencies, for example in the setup presented in the attached screenshot, if the top panel is focused, its shadow will dominate the left panel, but if the left panel is clicked then the top panel's shadow will go underneath it. Admittedly, this is a minor issue, but still noticable and annoying.

Feature request:
It would be nice if it would be possible to set up intersection rules for panels controlling how the panels should behave when they would overlap.
As an example for the setup in the attached screenshot, it should be possible to tell Plasma that I want the top panel to be "dominant" over the left panel. In this case, the top panel would always have focus over the left panel and the left panel - in its maximized state - would extend only until it collides precisely with the top panel, but will not go underneath it.
Comment 1 Nate Graham 2022-09-09 04:35:27 UTC

*** This bug has been marked as a duplicate of bug 336374 ***