Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.6.0
-
None
-
None
-
6d44daddab9f36fd8c34bb3776c0fb0d93635e6e
Description
When QDialog.resize() is called then QDialog is also moved. Apparently it's moved adjacent to the cba's (command button area, soft key area) top edge. This is wrong behavior. Resizing should only resize - not move.
Attached is a test application that can be used to reproduce the situation. Click on the dialog and the correct behavior is that on mousebuttonpress the dialog shrinks by 1 pixel both in x and y directions. However, the widget also moves.
In the application There's a maximized parent widget and a child dialog widget. Both are windows. When the child is clicked then in an object event filter the mousebuttonpress event is caught and the widget is resized 1 pixel less wide and high. This causes the widget also to move.
Tried the application also in Qt SDK 2009.03 in WindowsXP where it worked correctly.
Attachments
Issue Links
- resulted in
-
QTBUG-8911 Widget move in Windows sets also Qt::WA_Resized attribute
-
- Closed
-