On Sunday 28 May 2017 10:12:53 Elvis Angelaccio wrote: > createWinId(); > > windowHandle()->setTransientParent(parent()->nativeParentWidget()->windowHan > dle()); > > Does it makes sense? Would it work?
As far i know, if a qmenu is passed a parent in the ctor, then at the right moment a transientparent is set as well, that's why most of menus are ok. for a general solution, tried to do this in Qt: https://codereview.qt-project.org/#/c/195704/ -- Marco Martin