Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Qt 5 modal Dialogs are opened behind "stay always on top" window on Mac



  • I designed an application with Qt 5 on MAC OS. When application main window (QMainWindow) is set to be always on top(Qt::WindowStaysOnTopHint), modal dialogs are opened behind the main window (the reason is that the flag Qt::WindowStaysOnTopHint doesn't work for modal dialogs in Mac)
    Are there any ideas how implement a mechanism to open modal dialogs ahead of "stay Always On Top" QMainWindow or how to set qt modal dialog to be always top window on Mac?


  • Lifetime Qt Champion

    Hi,

    Which version of Qt are you using ?

    IIRC, that bug has been solved but it might be for 5.3



  • I use qt 5.2.1 and the issue exists on this version


Log in to reply