The always-on-top feature (Qt::WindowStaysOnTopHint ) seems to be a  
little bit off with Qt 4.5 tp1 on Mac and Linux.

On the Mac, if I turn the Qt::WindowStaysOnTopHint on for my  
QMainWindow, then the QMainWindow is *really* on top.  Even menus from  
the menu bar go behind the window.  I would expect menus and modal  
dialogs and utility windows to still come up above the "always on top"  
main window.  This is especially problematic if the application  
displays an error message, or if it accesses the "Keychain" which may  
put up a system dialog behind the "always on top" window.

I think this can be easily solved by just using a lower window level  
(maybe NSFloatingWindowLevel /  kCGFloatingWindowLevel) associated  
with Qt::WindowStaysOnTopHint.

Linux has a similar issue, at least on Ubuntu 8.04, where dialogs come  
up behind the Qt::WindowStaysOnTopHint window.


_______________________________________________
Qt4-preview-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback

Reply via email to