Bug 455364 - Dropdowns are shifted on wayland multi monitor
Summary: Dropdowns are shifted on wayland multi monitor
Status: RESOLVED UPSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-multiscreen (show other bugs)
Version: 5.25.0
Platform: Neon Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-15 20:34 UTC by Florian Schulte
Modified: 2022-06-15 21:17 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Screenshots merged into one file; top shows monitor setup and described behavior (107.98 KB, image/png)
2022-06-15 20:34 UTC, Florian Schulte
Details
behavior on third screen (33.30 KB, image/png)
2022-06-15 20:37 UTC, Florian Schulte
Details
mixed setup (18.99 KB, image/png)
2022-06-15 20:45 UTC, Florian Schulte
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Schulte 2022-06-15 20:34:14 UTC
Created attachment 149758 [details]
Screenshots merged into one file; top shows monitor setup and described behavior

I use a multi monitor setup and switched from X11 to wayland with the new 5.25 release. I noticed some weird behavior when i open menus an applications (e.g. dolphin). I use a triple monitor setup with two side monitors with a resolution of 1920x1080 and a center monitor with 2560x1440. Coming from X11 I had all monitors center aligned in the vertical direction. So the left monitor was at coordinate 0,180 and the right one was at 4480,180. Everything was working normally. 

On wayland the menus are shifted down by roughly 150px on the left screen. And on the center screen the menus are moved to the right by 1645px (see attachments). To me it seems that it tries to move the menus by an offset but fails to take the coordinate into account correctly. On the third screen the menus are shifted in both directions, but not as far to the right as the system always tries to keep the menu completely on screen.

If I align all screens to the top (coordinates: 0,0; 1920,0; 4480,0) , everything is fine, but it does not represent my setup anymore. I used gimp to edit the screenshots and it seems that gtk does not show this behaviour.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: kde neon
KDE Plasma Version: 5.25.0
KDE Frameworks Version: 5.95.0
Qt Version: 5.15.4
Comment 1 Florian Schulte 2022-06-15 20:37:50 UTC
Created attachment 149759 [details]
behavior on third screen
Comment 2 Florian Schulte 2022-06-15 20:45:24 UTC
Created attachment 149760 [details]
mixed setup

I just accidentally found out that a mixed setup also works normally. When the left monitor is top aligned and the right monitor is shifted down, alle menus on all screens are displayed as they should. It seems that the problem occurs if you dont have a clearly defined origin at 0,0. A monitor that is at the very top left position.
Comment 3 David Edmundson 2022-06-15 21:17:35 UTC
There's an open Qt bug on this.