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

two move events per move call, one in subsequent message loop

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.3.0
    • 5.1.0
    • None
    • Windows 7, Qt 5.1, MSVC 2010.
    • 72259baa76a0f1faa1983c720621676e9c15e15f (dev, 4.2.2014, 5.3), revert c3e416296a1026d7ba99cf209f5e0720ff5050b1 (6.6.2014, stable, 5.3.1?), a1c5198387fdb7db44a02bb94c56187874e67304 6.6.2014, stable, 5.3.1?)

    Description

      Widgets now receive two move events per move. The first (correct) one is synchronous with the move and reports the correct pos and oldP. The second one occurs during the next event loop due to QGuiApplicationPrivate::processGeometryChangeEvent() and has incorrect coordinates, perhaps due to the offset of the title bar.

      I've attached a small example app.
      Note that this is a possible duplicate of bug QTBUG-25631, but I am experiencing this issue in Qt 5.1, though I was not experiencing it in Qt 4.8.x

      Attachments

        1. brokenMove.zip
          1 kB
        2. qtbug32590.zip
          3 kB
        3. sampleOutput.txt
          0.5 kB

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              peppe Giuseppe D'Angelo
              apmontgo Alex Montgomery
              Votes:
              12 Vote for this issue
              Watchers:
              17 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: