Skip to content

KFilePlacesView: Set transientParent on context menu

Kai Uwe Broulik requested to merge work/kbroulik/kfileplaces-ctxmenu-parent into master

Without a parent widget, Qt cannot figure out what's the transient parent if the window has no focus, resulting in the menu opening as a standalone window.

BUG: 453532


Focussed another window, right-clicked on Dolphin's places panel without focussing Dolphin. Context menu shows up properly. Before it would show up as standalone toplevel window.

Merge request reports