Bug 473098

Summary: Panel popup prefers opening on secondary screen when opening on the expected screen would cause it to overlap a secondary panel
Product: [Plasma] plasmashell Reporter: Sebastian Turzański <dpbasti>
Component: PanelAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: nate, niccolo.venerandi
Priority: NOR Keywords: multiscreen
Version First Reported In: 5.27.7   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=471205
Latest Commit: Version Fixed In: 6.2.0
Sentry Crash Report:
Attachments: screenshot
screenshotOnSingleDisplay

Description Sebastian Turzański 2023-08-07 09:48:11 UTC
When I click on a start menu on my right (primary display) the menu pops up on the left display instead.
See the screenshot


STEPS TO REPRODUCE
1. Click on right display top left corner where start menu is

OBSERVED RESULT
1. Menu pops up  on left display

EXPECTED RESULT
1. Menu popup on the same display

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Opensuse tumbleweed
(available in About System)
KDE Plasma Version: 5.27.7
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Sebastian Turzański 2023-08-07 09:49:25 UTC
Created attachment 160788 [details]
screenshot
Comment 2 Nate Graham 2023-08-07 21:24:47 UTC
This is happening because it's trying not to overlap the secondary top panel on the screen you want it to appear on.

So I guess all the individual pieces are working as intended, though clearly nobody intended for the exact outcome to happen with this combination of screens and panels.
Comment 3 Sebastian Turzański 2023-08-17 05:43:24 UTC
Hi
Are you sure about that?
When I have a single (horizontal) display the top panel is covered by menu with no issue so why does connecting a second display on the left trigger panel avoiding? Just curious.
Comment 4 Sebastian Turzański 2023-08-17 05:44:08 UTC
Created attachment 161016 [details]
screenshotOnSingleDisplay
Comment 5 Nate Graham 2023-08-21 17:20:22 UTC
When there's only one screen, the top panel can't be avoided, so it doesn't try.
Comment 6 Nate Graham 2024-08-28 19:28:23 UTC
I can no longer reproduce this issue in current git master, soon to before Plasma 6.2. Looks like it got fixed along the way!