On Oct 24, 2008, at 8:44 AM, Peter Johnson wrote: > 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.
We intentionally decided that StaysOnTop really was stays on top on the mac. In general, you can use things like Qt::Tool which will put things on the correct window level on the mac. > I think this can be easily solved by just using a lower window level > (maybe NSFloatingWindowLevel / kCGFloatingWindowLevel) associated > with Qt::WindowStaysOnTopHint. It's something to keep in mind, but I believe we put it up that high because we had people complaining that the window really wasn't on top. > > > Linux has a similar issue, at least on Ubuntu 8.04, where dialogs come > up behind the Qt::WindowStaysOnTopHint window. Are the dialogs associated with the window below it? E.g. a dialog with always on top window as its parent working? If not, that probably needs to be looked at. -- Trenton _______________________________________________ Qt4-preview-feedback mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback
