Bug 464428

Summary: System Tray pop-ups are centered on multi monitor setup
Product: [Frameworks and Libraries] libplasma Reporter: Sandro <anonymx>
Component: libplasmaAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: asturm, materka, me, nate, notmart
Priority: NOR    
Version First Reported In: 5.102.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 5.103
Sentry Crash Report:
Attachments: Pop-up appears centered on screen
attachment-6998-0.html

Description Sandro 2023-01-17 20:25:32 UTC
Created attachment 155391 [details]
Pop-up appears centered on screen

SUMMARY
When using a multi monitor setup where the monitor that has the system tray applet is not the first monitor (from the left), the popup appears in the center of the screen, even though the system tray is on the right side of the screen (see image). I've recently installed Framework version 5.102.0 and this didn't happen before, so I guess this is a regression.

STEPS TO REPRODUCE
1. Configure two monitors where the monitor on the right has a panel with the system tray applet
2. Click on anything in the system tray that opens a pop-up (e.g. audio, clipboard, network manager)

OBSERVED RESULT
The pop-up opens in the center of the screen

EXPECTED RESULT
The pop-up should open above the system tray applet

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.102.0
Qt Version: 5.15.8
Kernel Version: 6.1.6-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 3800X 8-Core Processor
Memory: 15,5 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 2080 SUPER/PCIe/SSE2
Comment 1 Nate Graham 2023-01-17 23:25:12 UTC
This should be fixed in Frameworks 5.103.
Comment 2 Sandro 2023-01-17 23:28:06 UTC
Created attachment 155395 [details]
attachment-6998-0.html

Nice, thanks!

On January 17, 2023 11:25:12 PM UTC, Nate Graham <bugzilla_noreply@kde.org> wrote:
>https://bugs.kde.org/show_bug.cgi?id=464428
>
>Nate Graham <nate@kde.org> changed:
>
>           What    |Removed                     |Added
>----------------------------------------------------------------------------
>   Version Fixed In|                            |5.103
>   Target Milestone|1.0                         |---
>             Status|REPORTED                    |RESOLVED
>                 CC|                            |me@ratijas.tk,
>                   |                            |nate@kde.org,
>                   |                            |notmart@gmail.com
>            Version|5.26.5                      |5.102.0
>          Component|System Tray                 |libplasma
>            Product|plasmashell                 |frameworks-plasma
>         Resolution|---                         |FIXED
>
>--- Comment #1 from Nate Graham <nate@kde.org> ---
>This should be fixed in Frameworks 5.103.
>
>-- 
>You are receiving this mail because:
>You reported the bug.
Comment 3 Andreas Sturmlechner 2023-01-30 21:38:20 UTC
Any specific commit though?
Comment 4 Nate Graham 2023-01-31 19:16:59 UTC
Originally https://invent.kde.org/frameworks/plasma-framework/-/commit/d1f51d51bf35074038e273e4864db3f57dda1a85, but that was reverted because it was pushed by accident and did not go through proper review.

The master bug for that is Bug 464201 which is still open, so I should have just duped this to that from the start.
Comment 5 Nate Graham 2023-01-31 19:17:03 UTC

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