Bug 506623 - Context menu is in the wrong position when multi-monitor setup
Summary: Context menu is in the wrong position when multi-monitor setup
Status: RESOLVED DUPLICATE of bug 502715
Alias: None
Product: plasma-systemmonitor
Classification: Applications
Component: general (other bugs)
Version First Reported In: 6.4.1
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: KSysGuard Developers
URL:
Keywords: multiscreen
Depends on:
Blocks:
 
Reported: 2025-07-05 09:25 UTC by madness742
Modified: 2025-08-26 21:56 UTC (History)
6 users (show)

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


Attachments
Showcase of the bug. (328.79 KB, image/png)
2025-07-05 09:25 UTC, madness742
Details
Context menu on secondary monitor (153.31 KB, image/png)
2025-07-22 08:37 UTC, evgeniyharchenko.dev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description madness742 2025-07-05 09:25:52 UTC
Created attachment 182971 [details]
Showcase of the bug.

SUMMARY
The context menu, on certain text, is in the wrong position. The widgets don't seem to be affected by this.

STEPS TO REPRODUCE
1. Open System Monitor. 
2. Select 'Applications' or 'Process'.
3. Right click on any application/process.

OBSERVED RESULT
The context menu is in the bottom right corner of the window.

EXPECTED RESULT
The context menu should appear under the mouse.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora Linux 42
KDE Plasma Version: 6.4.1
KDE Frameworks Version: 6.15.0
Qt Version: 6.9.1
Comment 1 Kat Pavlu 2025-07-05 11:54:59 UTC Comment hidden (spam)
Comment 2 Kat Pavlu 2025-07-05 11:55:54 UTC Comment hidden (spam)
Comment 3 Kat Pavlu 2025-07-05 11:58:18 UTC
(In reply to madness742 from comment #0)
> Created attachment 182971 [details]
> Showcase of the bug.
> 
> SUMMARY
> The context menu, on certain text, is in the wrong position. The widgets
> don't seem to be affected by this.
> 
> STEPS TO REPRODUCE
> 1. Open System Monitor. 
> 2. Select 'Applications' or 'Process'.
> 3. Right click on any application/process.
> 
> OBSERVED RESULT
> The context menu is in the bottom right corner of the window.
> 
> EXPECTED RESULT
> The context menu should appear under the mouse.
> 
> SOFTWARE/OS VERSIONS
> Linux/KDE Plasma: Fedora Linux 42
> KDE Plasma Version: 6.4.1
> KDE Frameworks Version: 6.15.0
> Qt Version: 6.9.1

I cannot get this to happen on Fedora 42. Can you check if it still happens with plasma 6.4.2, and, additionally, if it happens with the Breeze theme instead of the Fedora theme?
Comment 4 madness742 2025-07-05 12:02:23 UTC
(In reply to Kat Pavlu from comment #3)
> I cannot get this to happen on Fedora 42. Can you check if it still happens
> with plasma 6.4.2, and, additionally, if it happens with the Breeze theme
> instead of the Fedora theme?

I can still reproduce this with Plasma 6.4.2 using the Breeze theme.
Comment 5 Kat Pavlu 2025-07-05 12:24:02 UTC
Oh. This is an X11 specific bug. I can get this to happen reliably in the x session. Does not happen in wayland.

This will probably not get fixed any time soon, if at all. See https://pointieststick.com/2025/06/21/about-plasmas-x11-session/
Comment 6 madness742 2025-07-05 12:31:12 UTC
Thanks for the comment, but I can reproduce it on Wayland.

I can also reproduce it on KDE neon Testing Edition (neon-testing-20250701-0430.iso). This was done without changing any (system) settings. Oddly enough, I'm unable to reproduce this in my Fedora 42 VM..

Additional information:

GPU: AMD Radeon RX 7900 XTX

```
Output: 1 DP-1 31dfb0c2-520f-46e4-8a1c-d0aebd0619d0
        enabled
        connected
        priority 1
        DisplayPort
        replication source:0
        Modes:  1:2560x1440@144*!  2:2560x1440@120  3:2560x1440@100  4:2560x1440@60  5:1920x1200@144  6:1920x1080@75  7:1920x1080@60  8:1920x1080@60  9:1920x1080@60  10:1920x1080@50  11:1600x1200@144  12:1680x1050@60  13:1600x900@60  14:1280x1024@75  15:1280x1024@60  16:1440x900@144  17:1280x800@60  18:1152x864@60  19:1280x720@60  20:1280x720@60  21:1280x720@50  22:1024x768@75  23:1024x768@60  24:800x600@75  25:800x600@60  26:720x480@60  27:720x480@60  28:640x480@75  29:640x480@60  30:640x480@60  31:1600x1200@60  32:1280x1024@144  33:1024x768@144  34:1920x1200@60  35:1280x800@144  36:1920x1080@144  37:1600x900@144  38:1368x768@60  39:1368x768@144  40:1280x720@144 
        Geometry: 1440,620 2560x1440
        Scale: 1
        Rotation: 1
        Overscan: 0
        Vrr: Automatic
        RgbRange: Automatic
        HDR: disabled
        Wide Color Gamut: disabled
        ICC profile: none
        Color profile source: sRGB
        Color power preference: prefer efficiency and performance
        Brightness control: supported, set to 100% and dimming to 100%
        DDC/CI: disallowed
        Color resolution: automatic (10), range: [8; 8] bits per color
        Allow EDR: unsupported
Output: 2 DP-2 c1c64c77-d419-4b19-9061-0cb22699908e
        enabled
        connected
        priority 2
        DisplayPort
        replication source:0
        Modes:  41:3840x2160@60*!  42:3840x2160@30  43:2560x1440@60  44:1920x1200@60  45:1920x1080@60  46:1920x1080@60  47:1600x1200@60  48:1680x1050@60  49:1600x900@60  50:1280x1024@60  51:1440x900@60  52:1280x800@60  53:1152x864@60  54:1280x720@60  55:1280x720@60  56:1024x768@60  57:800x600@60  58:720x480@60  59:720x480@60  60:640x480@60  61:640x480@60  62:2560x1600@60  63:3200x1800@60  64:2880x1620@60  65:1368x768@60 
        Geometry: 0,0 1440x2560
        Scale: 1.5
        Rotation: 2
        Overscan: 0
        Vrr: incapable
        RgbRange: Automatic
        HDR: disabled
        Wide Color Gamut: disabled
        ICC profile: none
        Color profile source: sRGB
        Color power preference: prefer efficiency and performance
        Brightness control: supported, set to 100% and dimming to 100%
        DDC/CI: disallowed
        Color resolution: automatic (10), range: [8; 8] bits per color
        Allow EDR: unsupported
```
Comment 7 Kat Pavlu 2025-07-05 14:03:00 UTC
(In reply to madness742 from comment #6)
> Thanks for the comment, but I can reproduce it on Wayland.
> 
> I can also reproduce it on KDE neon Testing Edition
> (neon-testing-20250701-0430.iso). This was done without changing any
> (system) settings. Oddly enough, I'm unable to reproduce this in my Fedora
> 42 VM..
> 
> Additional information:
> 
> GPU: AMD Radeon RX 7900 XTX
> 
> ```
> Output: 1 DP-1 31dfb0c2-520f-46e4-8a1c-d0aebd0619d0
>         enabled
>         connected
>         priority 1
>         DisplayPort
>         replication source:0
>         Modes:  1:2560x1440@144*!  2:2560x1440@120  3:2560x1440@100 
> 4:2560x1440@60  5:1920x1200@144  6:1920x1080@75  7:1920x1080@60 
> 8:1920x1080@60  9:1920x1080@60  10:1920x1080@50  11:1600x1200@144 
> 12:1680x1050@60  13:1600x900@60  14:1280x1024@75  15:1280x1024@60 
> 16:1440x900@144  17:1280x800@60  18:1152x864@60  19:1280x720@60 
> 20:1280x720@60  21:1280x720@50  22:1024x768@75  23:1024x768@60 
> 24:800x600@75  25:800x600@60  26:720x480@60  27:720x480@60  28:640x480@75 
> 29:640x480@60  30:640x480@60  31:1600x1200@60  32:1280x1024@144 
> 33:1024x768@144  34:1920x1200@60  35:1280x800@144  36:1920x1080@144 
> 37:1600x900@144  38:1368x768@60  39:1368x768@144  40:1280x720@144 
>         Geometry: 1440,620 2560x1440
>         Scale: 1
>         Rotation: 1
>         Overscan: 0
>         Vrr: Automatic
>         RgbRange: Automatic
>         HDR: disabled
>         Wide Color Gamut: disabled
>         ICC profile: none
>         Color profile source: sRGB
>         Color power preference: prefer efficiency and performance
>         Brightness control: supported, set to 100% and dimming to 100%
>         DDC/CI: disallowed
>         Color resolution: automatic (10), range: [8; 8] bits per color
>         Allow EDR: unsupported
> Output: 2 DP-2 c1c64c77-d419-4b19-9061-0cb22699908e
>         enabled
>         connected
>         priority 2
>         DisplayPort
>         replication source:0
>         Modes:  41:3840x2160@60*!  42:3840x2160@30  43:2560x1440@60 
> 44:1920x1200@60  45:1920x1080@60  46:1920x1080@60  47:1600x1200@60 
> 48:1680x1050@60  49:1600x900@60  50:1280x1024@60  51:1440x900@60 
> 52:1280x800@60  53:1152x864@60  54:1280x720@60  55:1280x720@60 
> 56:1024x768@60  57:800x600@60  58:720x480@60  59:720x480@60  60:640x480@60 
> 61:640x480@60  62:2560x1600@60  63:3200x1800@60  64:2880x1620@60 
> 65:1368x768@60 
>         Geometry: 0,0 1440x2560
>         Scale: 1.5
>         Rotation: 2
>         Overscan: 0
>         Vrr: incapable
>         RgbRange: Automatic
>         HDR: disabled
>         Wide Color Gamut: disabled
>         ICC profile: none
>         Color profile source: sRGB
>         Color power preference: prefer efficiency and performance
>         Brightness control: supported, set to 100% and dimming to 100%
>         DDC/CI: disallowed
>         Color resolution: automatic (10), range: [8; 8] bits per color
>         Allow EDR: unsupported
> ```

I cannot get this to reproduce on Wayland. Tried: Fedora 41(VM, different resolutions)  and 42 (on hardware, 1080p), Neon live ISOs (both stable and testing , on VM, 1080p), Arch (VM, 1080p). I tried different scalings too. 

Does it happen on both monitors for you?
Comment 8 madness742 2025-07-05 15:43:48 UTC
(In reply to Kat Pavlu from comment #7)
> Does it happen on both monitors for you?

Yes, it does. Disabling one of the two monitors makes no difference.
Additionally, I can also reproduce this on my Thinkpad T400 (2009, Intel T9400 and single built-in display).

But I found a way to get it to show under the correct position!

1. Open System Monitor and move to 2nd screen.
2. Open Dolphin on main monitor.
3. Right click on any application under Overview in System Monitor.
4. Click on Dolphin.
5. Right click on any application under Overview in System Monitor again.

And now it displays at the correct position. I'm not sure why, but this only works if System Monitor is on the second screen.
Comment 9 Bug Janitor Service 2025-07-20 03:47:13 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 10 evgeniyharchenko.dev 2025-07-22 08:33:09 UTC
Same here.

Operating System: KDE neon User Edition
KDE Plasma Version: 6.4.3
KDE Frameworks Version: 6.16.0
Qt Version: 6.9.1
Kernel Version: 6.14.0-24-generic (64-bit)
Graphics Platform: X11

On secondary monitor (smaller than primary) situation is better, but the vertical positioning is still incorrect.
Comment 11 evgeniyharchenko.dev 2025-07-22 08:37:48 UTC
Created attachment 183415 [details]
Context menu on secondary monitor

It is better than on primary, but not perfect.
Comment 12 equeim 2025-08-15 19:59:12 UTC
I have this issue on Wayland too, on openSUSE Tumbleweed with Plasma 6.4.4, with Radeon 7900 GRE graphics card

kscreen-doctor -o:

Output: 1 DP-2 a17d2259-9aa8-4ed1-96a1-ad31f1ae63c7
        enabled
        connected
        priority 1
        DisplayPort
        replication source:0
        Modes:  1:2560x1440@60!  2:2560x1440@144  3:2560x1440@120*  4:1920x1200@60  5:1920x1080@144  6:1920x1080@120  7:1920x1080@60  8:1920x1080@60  9:1920x1080@60  10:1920x1080@50  11:1600x1200@60  12:1680x1050@120  13:1680x1050@60  14:1280x1024@120  15:1280x1024@75  16:1440x900@120  17:1440x900@60  18:1280x800@60  19:1280x720@120  20:1280x720@120  21:1280x720@60  22:1280x720@60  23:1280x720@50  24:1440x576@50  25:1440x576@50  26:1024x768@75  27:1024x768@70  28:1024x768@60  29:1440x480@60  30:1440x480@60  31:1440x480@60  32:1440x480@60  33:800x600@75  34:800x600@72  35:800x600@60  36:800x600@56  37:720x576@50  38:720x576@50  39:720x480@60  40:720x480@60  41:720x480@60  42:720x480@60  43:640x480@75  44:640x480@73  45:640x480@60  46:640x480@60  47:640x480@60  48:720x400@70  49:1600x1200@144  50:1280x1024@60  51:1280x1024@144  52:1024x768@144  53:1920x1200@144  54:1280x800@144  55:1600x900@60  56:1600x900@144  57:1368x768@60  58:1368x768@144  59:1280x720@144 
        Geometry: 1920,0 2560x1440
        Scale: 1
        Rotation: 1
        Overscan: 0
        Vrr: Never
        RgbRange: Automatic
        HDR: enabled
                SDR brightness: 300 nits
                SDR gamut wideness: 0%
                Peak brightness: 350 nits, overridden with: 350 nits
                Max average brightness: 409 nits
                Min brightness: 0.0526 nits
        Wide Color Gamut: enabled
        ICC profile: none
        Color profile source: sRGB
        Color power preference: prefer efficiency and performance
        Brightness control: supported, set to 100% and dimming to 100%
        DDC/CI: allowed
        Color resolution: automatic (10), range: [8; 16] bits per color
        Allow EDR: unsupported
Output: 2 HDMI-A-1 77b0cf6d-7310-455b-8a38-01a7b08d9c63
        enabled
        connected
        priority 2
        HDMI
        replication source:0
        Modes:  60:1920x1080@60*!  61:1920x1080@60  62:1920x1080@60  63:1920x1080@50  64:1680x1050@60  65:1280x1024@75  66:1280x1024@60  67:1440x900@60  68:1280x800@60  69:1152x864@75  70:1280x720@60  71:1280x720@60  72:1280x720@60  73:1280x720@50  74:1024x768@75  75:1024x768@60  76:800x600@75  77:800x600@60  78:720x576@50  79:720x480@60  80:720x480@60  81:720x480@60  82:720x480@60  83:720x480@60  84:640x480@75  85:640x480@60  86:640x480@60  87:640x480@60  88:720x400@70  89:1600x900@60  90:1368x768@60 
        Geometry: 0,180 1920x1080
        Scale: 1
        Rotation: 1
        Overscan: 0
        Vrr: incapable
        RgbRange: Automatic
        HDR: incapable
        Wide Color Gamut: incapable
        ICC profile: none
        Color profile source: EDID
        Color power preference: prefer efficiency and performance
        Brightness control: supported, set to 80% and dimming to 100%
        DDC/CI: allowed
        Color resolution: automatic (10), range: [8; 16] bits per color
        Allow EDR: unsupported
Comment 13 Nate Graham 2025-08-26 21:56:22 UTC
It's a Qt bug that will be fixed in the upcoming Qt 6.10 release.

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