Bug 401213

Summary: Context menu opens in wrong position if an unmaximized window is near the right-clicked icon on desktop
Product: [Plasma] plasmashell Reporter: Patrick Silva <bugseforuns>
Component: generic-waylandAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kde, nate
Priority: NOR    
Version: 5.16.5   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: screenshot

Description Patrick Silva 2018-11-19 18:02:02 UTC
Created attachment 116406 [details]
screenshot

STEPS TO REPRODUCE
1. start Wayland session
2. open Dolphin and unmaximize its window
3. position Dolphin window immediately below some icon on your desktop
4. right click on the icon above Dolphin window

OBSERVED RESULT
context menu opens in wrong position, see my screenshot please.

EXPECTED RESULT
context menu opens in correct position.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.14.3
Qt Version: 5.12.0 beta4
KDE Frameworks Version: 5.52.0
Comment 1 Patrick Silva 2018-11-19 18:04:20 UTC
Also observe "Plasma" entry created in the task manager by the context menu.
Comment 2 David Edmundson 2018-11-19 18:09:55 UTC
So they're almost certainly being created as toplevels rather than as popups.

That can happen if Qt can't find which input event generated the popup, will need fixing there
Comment 3 David Edmundson 2019-01-14 20:24:50 UTC
>That can happen if Qt can't find which input event generated the popup, will need fixing there

And is fixed.

Please reopen if still an issue with Qt > 5.12.1
Comment 4 Patrick Silva 2019-03-14 23:52:13 UTC
bug persists on Arch Linux after update to Qt 5.12.2.
Comment 5 Patrick Silva 2019-09-05 18:00:59 UTC
Operating System: Arch Linux 
KDE Plasma Version: 5.16.5
KDE Frameworks Version: 5.61.0
Qt Version: 5.13.1
Comment 6 Patrick Silva 2020-02-13 16:21:10 UTC

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