Hi,
I noticed a strange effect: When applying the 'QT::Tool' flag to a widget, the widget will disappear when the main (parent) widget gets inactive.
Well, this is the behaviour on Linux and Mac OSX. I had the chance to test this on windows today and there the subwidget will stay visible even if the parent is inactive resp. only partly visible. I can even cover the parent completely and still the floating subwidget stays visible.
This is how I expected it to work.
To elaborate a bit:
Go to the qt422/demos/mainwindow folder and run the mainwindow example.
Now make one of the subwidgets floating. Just move it outside the mainwindow and click on the desktop or another program window. The floating window will be gone, even if it isn't covered by any other window.
Now move the floating widget inside the mainwindow but don't let it dock (You have to move it above the central widget (the one with the text inside)).
Let the program become inactive (click on the desktop) and the floating subwidget is gone.
That can't be right, can it? I tested it with KDE and on the Mac desktop. I don't really think it's a desktop manager issue. It just doesn't feels right.
What do you think? Is it the desired behaviour or isn't it. If the majority thinks it's not, I will have to file a bug report.
Moppel
Would be interested if someone could verify that on a qt 43 snapshot build.
Bookmarks