[Interest] Modeless dialog on Mac are not kept on top

Calogero Mauceri mauceri at actgate.com
Mon Nov 5 15:01:09 CET 2012


Hi,

I noticed on the Mac version of my application, that modeless dialogs 
are not kept on top when the user clicks on the main window application. 
The dialogs "disappear" behind the application main window.

This problem is happening only on Mac, not on Windows or Linux (Gnome). 
I noticed this problem after upgrading my application from Qt 4.6.3 to 
the latest version (Qt 4.8.4).

Is it a bug or is there a way to keep the dialog on top of the 
application main window? I can not create the dialog with Qt::Tool flag 
(that would cause the dialog toolbar to be different than a normal 
dialog toolbar) nor I can use the Qt::WindowStaysOnTopHint flag (that 
would cause the dialog to be on top of any window opened in the system, 
also the ones of other applications).

Thanks in advance for your help,
     Calogero

-- 
Calogero Mauceri
Software Engineer

Applied Coherent Technology Corporation (ACT)
www.actgate.com





More information about the Interest mailing list