On domenica 28 maggio 2017 10:37:40 CEST, Marco Martin wrote:
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/

Tried your patch and it seems to work fine! I'll leave a comment on gerrit.



Reply via email to