popup menu bugs
Open, Needs TriagePublic


in many cases QMenus don't have a transientParent in their QWindow, this breaks in wayland as popups are forced to have a transientParent.

both plasma and QWidget based applications have this problem, but seems to have different causes.
example of qwidget application: konsole has the bookmarks menu and the sessions submenu broken, looking in QWaylandWlShellSurface::setPopup there is no parent.

partial workaround: D5773

for plasma, our qmenus are created by qquickwindows(not qwidgets) seem to not have parent either,this seems to be hackable around

mart created this task.May 8 2017, 4:48 PM
mart updated the task description. (Show Details)May 8 2017, 5:06 PM
mart added a comment.May 11 2017, 10:12 AM

another possible workaround in kxmlgui: D5806

Is this the only instance?

For the record, see also D6045. Can someone review D6008 as well?