Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-34818

Two Qt5 Window management bugs: (1) move() command ignored (2) first button-click ignored. Mac OS X 10.6-10.8

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P2: Important
    • None
    • 5.1.1, 5.2.0 Beta1
    • GUI: Window management
    • None
    • Mac OS X 10.6, 10.8. Qt 5.1.1, Qt 5.2.0b1
    • macOS

    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.

      Attachments

        1. sample.png
          sample.png
          130 kB
        2. window_bugs.zip
          7 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            sorvig Morten Sørvig
            traveler John Coggi
            Votes:
            3 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes