Bug 462730

Summary: When adding multiple panels to the same edge, widgets and windows are not correctly aligned
Product: [Plasma] plasmashell Reporter: Aitor <mail>
Component: PanelAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: nate, niccolo.venerandi
Priority: NOR    
Version: 5.26.4   
Target Milestone: 1.0   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Screenshot showing how windows/widgets are missplaced
Issue happening on different edges and depending on the number of panels
Issue happening with 3 panels on top and one in the side

Description Aitor 2022-12-07 00:21:34 UTC
Created attachment 154382 [details]
Screenshot showing how windows/widgets are missplaced

SUMMARY
When adding multiple panels to the same screen edge, windows and widgets which should stick to the edge are not (the attached images should help). Applications like Yakuake or the activities switcher leave a significant space which is related to the number of panels.

STEPS TO REPRODUCE
1. Add multiple panels to the top edge

OBSERVED RESULT
The activities switcher widget or applications like Yakuake or Krunner (if set to appear on top of the screen) are not drawn fully until it touches the top of the screen or the panels lower boundary.

EXPECTED RESULT
Widgets and applications that are drawn in relation to the edge panels should be touching them (or close to them if they are floating) but they should not leave a bigger gap as we add more panels to the same screen edge.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20221205
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.100.0
Qt Version: 5.15.7
Kernel Version: 6.0.10-1-default (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2022-12-07 20:28:11 UTC
It looks like it's adding together the height of the panels to determine the top margin for the things that normally appear touching the top of the screen.

If you remove a panel, does the top margin decrease?
Comment 2 Aitor 2022-12-08 11:34:55 UTC
Created attachment 154422 [details]
Issue happening on different edges and depending on the number of panels

It seems to be the case that it happens on all edges and it is dependent on the number of panels in each edge. When the count is 1 calculation seems correct, but not otherwise.
Comment 3 Aitor 2022-12-08 11:35:48 UTC
Created attachment 154423 [details]
Issue happening with 3 panels on top and one in the side
Comment 4 veggero 2022-12-08 12:03:07 UTC

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