Details
-
Bug
-
Resolution: Incomplete
-
P2: Important
-
None
-
5.1.1, 5.2.0 Beta1
-
None
-
Mac OS X 10.6, 10.8. Qt 5.1.1, Qt 5.2.0b1
Description
The small sample program attached demonstrates two window management bugs in the latest versions of Qt (5.1.1, and 5.2.0b1 as of this writing). Neither of these bugs appear in Qt 4.8.5.
Bug #1: In the sample program, attempting to make a QDialog window appear at a specific x,y position using the move(x,y) fails. The dialog appears approximately in the center of the screen. The move(x,y) command appears to be ignored.
Bug #2: In the sample program, double-click somewhere in the MainWindow background to bring up the QDialog with a Cancel and OK button. If the mouse position of the double-click is at approximately the same approximate position as the Cancel button, the first click on the Cancel button is ignored. It takes two clicks on the Cancel button to dismiss the window. If the MainWindow and the dialog window are positioned apart from each other, the first click on Cancel usually dismisses the dialog.