Bug 511091

Summary: Menus vertically displaced by an amount equal to the vertical offset between screens
Product: [Plasma] kwin Reporter: Aleksey Zagorodnikov <xglooom>
Component: multi-screenAssignee: KWin default assignee <kwin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: nate, niccolo.venerandi
Priority: NOR Keywords: multiscreen
Version First Reported In: 6.4.5   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Bug and Monitor Arrangement

Description Aleksey Zagorodnikov 2025-10-25 12:59:20 UTC
Created attachment 186130 [details]
Bug and Monitor Arrangement

SUMMARY
Menus from right-click or the menu bar are misplaced in a dual monitor setup with a particular panel arrangement.

STEPS TO REPRODUCE
1. In a dual monitor setup, arrange the secondary (smaller) display aligned in a horizontal line at the bottom.
2. Add an empty plasma panel on top of the secondary display.
3. Open, for example, the VMWare or OrcaSlicer app on the primary display and place it at the top of the display.
4. Click on the 'File' menu, or right-click context menu.

OBSERVED RESULT
The menu appears offset by the panel position on the secondary screen. 

EXPECTED RESULT
The menu should appear right under the mouse/menubar.

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux 
KDE Plasma Version: 6.5.0
KDE Frameworks Version: 6.19.0
Qt Version: 6.10.0
Kernel Version: 6.17.5-1-MANJARO (64-bit)
Graphics Platform: Wayland
Processors: 32 × AMD RYZEN AI MAX+ 395 w/ Radeon 8060S
Memory: 64 GiB of RAM (62.1 GiB usable)
Graphics Processor: Radeon 8060S Graphics                            

ADDITIONAL INFORMATION
6.4 and 6.5 versions are affected.
When the app window is placed below the panel position on the secondary display, the menu shows correctly.
Comment 1 Aleksey Zagorodnikov 2025-10-25 17:33:01 UTC
To clarify, without a panel on top of the screen, this bug does not happen.
It also occurs only for a small group of apps, not quite sure what they have in common.

VMWare Workstation 
OrcaSlicer
STM32CubeMX