Bug 395177 - Wayland subsubmenus are not put in the correct place when the submenu has to be re positioned due to screen space
Summary: Wayland subsubmenus are not put in the correct place when the submenu has to ...
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: git master
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
: 387896 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-06-09 14:36 UTC by bluescreenavenger
Modified: 2018-06-14 19:45 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
The placement of the subsubmenu when the first menu is repositioned (334.63 KB, image/png)
2018-06-09 14:36 UTC, bluescreenavenger
Details

Note You need to log in before you can comment on or make changes to this bug.
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. ***