Floating child window automatically moves with parent
I've been using Qt4.7.3 for my Mac desktop application. Today I upgraded to 4.8.0 and noticed one thing that has changed. with Qt4.7.3 when my main window moves, its child window (such as a floating tool window or About window) moves with it automatically. However, it is not the case with Qt4.8.0, which is bad for me because I need that for one important occasion.
The best way to test this is try the windowflags example, with Qt4.7.3 the pop up child window moves with parent, with Qt4.8.0, it doesn't.
Now my question is how do I get back the old behavior in Qt4.7.3? I tried a few hacks in moveEvent. I can sort of make it work, but there is always lagging in the movement. Nothing came close to the smoothness like before. Does any one have any suggestions?
That's really strange. In my real world applications I never had this behavior with 4.7.3 (using a manual build against Carbon, maybe it is a Cocoa only problem). I would regard the 4.7.3 behavior a bug and 4.8.0 the correct version.