Created attachment 154382 [details]
Screenshot showing how windows/widgets are missplaced
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
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.
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.
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
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?
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.
Created attachment 154423 [details]
Issue happening with 3 panels on top and one in the side
*** This bug has been marked as a duplicate of bug 461892 ***