Bug 408741

Summary: dropdown menu appears on wrong side when window opened fullscreen on second display
Product: [Plasma] kwin Reporter: Victor Prudniy <vityas_official>
Component: coreAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal Flags: mgraesslin: Wayland?
mgraesslin: X11+
Priority: NOR    
Version First Reported In: 5.16.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: screenshot of the problem

Description Victor Prudniy 2019-06-15 14:27:31 UTC
Created attachment 120889 [details]
screenshot of the problem

SUMMARY
dropdown menu appears on wrong side when window opened fullscreen on second display

STEPS TO REPRODUCE
1. move window to right display and maximize it
2. press alt+f3 and select something with dropdown

OBSERVED RESULT
menu rendered on wrong display (see attachment) 

EXPECTED RESULT
menu rendered correctly

SOFTWARE/OS VERSIONS
KDE Plasma Version:  5.16.0
KDE Frameworks Version: 5.59.0
Qt Version: 5.12.3
Comment 1 Martin Flöser 2019-06-15 18:01:28 UTC
X11 or Wayland?
Comment 2 Victor Prudniy 2019-06-16 01:07:21 UTC
x11
Comment 3 Victor Prudniy 2019-06-16 01:12:06 UTC
Also now found that this bug appears only for windows without titlebar
Comment 4 Martin Flöser 2019-06-16 08:28:34 UTC
On X11 this window is positioned by Qt. I doubt there's anything we can do.
Comment 5 Victor Prudniy 2019-06-16 10:51:55 UTC
I tested on Wayland and behavior is the same. But tbh Wayland on my machine so unstable that this problem looks extremely minor.
Comment 6 Christoph Feck 2019-07-03 12:57:00 UTC
Placement of submenus is done by Qt libraries. Please report this issue directly to Qt developers via https://bugreports.qt.io/