Bug 482221 - Right Click on window title bar results in wrong placement of menu if mode than 1 display attached
Summary: Right Click on window title bar results in wrong placement of menu if mode th...
Status: RESOLVED DUPLICATE of bug 480864
Alias: None
Product: kwin
Classification: Plasma
Component: appmenu (show other bugs)
Version: 6.0.0
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-02 11:01 UTC by Ben
Modified: 2024-03-04 18:36 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ben 2024-03-02 11:01:05 UTC
SUMMARY
***

Right clicking a window title bar to get the context menu works as expected on the primary display.
However if a second display is attached, right clicking the title bar for a window on the second display results in the context menu appearing on the first display.  This happens in both X11 and Wayland sessions.

***


STEPS TO REPRODUCE
1.   Right click title bar of a window

OBSERVED RESULT

If doing this on a window on the primary display, the conext menu pops up under the mouse.  If doing this on a second display the pop-up menu appears on the first display

EXPECTED RESULT

pop-up menu should appear under the mouse regards of which display the window is on.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:   Neon 6

KDE Plasma Version:  6.0.0
KDE Frameworks Version:  6.0.0
Qt Version:  6.6.2

ADDITIONAL INFORMATION

This is on a clean install of KDE Neon 6
Comment 1 fanzhuyifan 2024-03-02 19:27:23 UTC
FWIW can't reproduce on git build, wayland, arch linux -- windows context menus correctly appear under mouse on both monitors.
Comment 2 Ben 2024-03-04 06:58:35 UTC
Ok, just been through this again with a new test user account and it is working fine.

The problem is with the theme I applied, so will report the issue there if I can.
Comment 3 Zamundaaa 2024-03-04 18:36:48 UTC

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