Bug 450073 - System tray applet windows & tray popups mispositioned
Summary: System tray applet windows & tray popups mispositioned
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: System Tray widget (show other bugs)
Version: 5.24.0
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: wayland-only
Depends on:
Blocks:
 
Reported: 2022-02-12 09:36 UTC by phrxmd
Modified: 2022-09-30 06:45 UTC (History)
3 users (show)

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


Attachments
Tray applet opens on the left edgeof the primary screen, when the system tray is on the right. (2.43 MB, image/jpeg)
2022-02-12 09:39 UTC, phrxmd
Details
Tray popup opens on the left edge of the primary screen, when the system tray is on the right. (176.02 KB, image/png)
2022-02-12 09:39 UTC, phrxmd
Details
Tray popup opens on the right edge of screen next to the primary screen with the system tray. (177.92 KB, image/png)
2022-02-12 09:40 UTC, phrxmd
Details

Note You need to log in before you can comment on or make changes to this bug.
Description phrxmd 2022-02-12 09:36:16 UTC
SUMMARY
On my two-monitor configuration, where the primary screen on the right contains a panel with the system tray, system tray applets and tooltips appear mispositioned. Applets appear on the left edge of the screen (when the system tray is on the right), tooltips appear either on the left edge, or on the right side of the screen adjacent to it on the left. 

This is a 5.24 regression; on 5.23.x placement was fine.

STEPS TO REPRODUCE
1.  Set screen panel configuration as follows: two screens, primary screen on the right, panel with systray on the right screen.
2. Hover over a system tray icon, or click on an icon to open a system tray applet.

OBSERVED RESULT
See screenshots: System tray applets open on the left edge of the primary screen; hover tooltips open either on the left edge of the primary screen, or on the right edge of the screen left to it.

EXPECTED RESULT
System tray applets and tooltips should open where the respective system tray icon is.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20220207
KDE Plasma Version: 5.24.0
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2
Kernel Version: 5.16.5-1-default (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-8550U CPU @ 1.80GHz
Memory: 15.5 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620

ADDITIONAL INFORMATION
Comment 1 phrxmd 2022-02-12 09:39:01 UTC
Created attachment 146623 [details]
Tray applet opens on the left edgeof the primary screen, when the system tray is on the right.
Comment 2 phrxmd 2022-02-12 09:39:49 UTC
Created attachment 146624 [details]
Tray popup opens on the left edge of the primary screen, when the system tray is on the right.
Comment 3 phrxmd 2022-02-12 09:40:52 UTC
Created attachment 146625 [details]
Tray popup opens on the right edge of screen next to the primary screen with the system tray.
Comment 4 Konrad Materka 2022-02-14 22:35:02 UTC
Is this Wayland specific? Can you test on X11?
Comment 5 Nate Graham 2022-02-16 17:49:49 UTC
This should be Wayland-specific, yes.

Cannot reproduce with two monitors.
Comment 6 phrxmd 2022-02-25 12:15:47 UTC
Seems to be Wayland-specific.

It happens to me on some logins, and not on others, right now it's happening again.
Is there a way to get more precise information from the system regarding how widgets and popups get their positoning info? I realize that with just screenshots this bug description is not very helpful.
Comment 7 Fushan Wen 2022-09-30 06:45:22 UTC
The bug was fixed in the frameworks