Bug 395177

Summary: Wayland subsubmenus are not put in the correct place when the submenu has to be re positioned due to screen space
Product: [Plasma] kwin Reporter: bluescreenavenger
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: bugseforuns
Priority: NOR    
Version: git master   
Target Milestone: ---   
Platform: Other   
OS: Linux   
See Also: https://bugreports.qt.io/browse/QTBUG-51640
Latest Commit: Version Fixed In:
Attachments: The placement of the subsubmenu when the first menu is repositioned

Description bluescreenavenger 2018-06-09 14:36:59 UTC
Created attachment 113172 [details]
The placement of the subsubmenu when the first menu is repositioned

Hi

First, I am surprised that kwin actually supports it, since Weston does not. 

but when I have kate near the bottom of the screen, and I go View>Wordwrap

the View menu appears properly so it is in the correct location, however, the Word wrap (and other sub menus) are placed in the wrong location, almost as if though it's treating it as if though the menu was not re positioned... 

(or is this a bug in the client side)


Thanks
Comment 1 Martin Flöser 2018-06-09 15:23:12 UTC
This is unfortunately a bug in Qt. The submenus have position hints according to the main window and not to the parent menu. See https://bugreports.qt.io/browse/QTBUG-51640
Comment 2 Patrick Silva 2018-06-14 19:45:29 UTC
*** Bug 387896 has been marked as a duplicate of this bug. ***