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

Qt Quick: Drag event coordinates wrong in Release mode

    XMLWordPrintable

Details

    • macOS, Windows
    • d9d2477464 (qt/qtdeclarative/dev) d9d2477464 (qt/tqtc-qtdeclarative/dev) d9d2477464 (qt/qtdeclarative/wip/material3) d9d2477464 (qt/tqtc-qtdeclarative/wip/material3), 64ffce437 (6.4)

    Description

      See attached animations of "Qt Quick Examples - Drag and Drop > GridView" (https://doc.qt.io/qt-6/qtquick-draganddrop-example.html ): The Debug build has correct behaviour; the Release build has wrong behaviour.

      It appears that while the drag is active, the wrong coordinates get generated in Release mode.

      Attached animations are from Windows 10 Pro 21H2 x64. Customer reported the same results on macOS.

      Attachments

        1. delegatemodel.zip
          2 kB
          Sami Shalayel
        2. dragndrop-debug-correct.gif
          107 kB
          Sze Howe Koh
        3. dragndrop-release-wrong.gif
          153 kB
          Sze Howe Koh

        Issue Links

          Activity

            People

              sami.shalayel Sami Shalayel
              skoh-qt Sze Howe Koh
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: