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

[REG 6.2.0->6.2.1] QML: Wrong item position after drag&drop

    XMLWordPrintable

Details

    • macOS, Windows
    • b81e27e652 (qt/qtdeclarative/dev) 5174504fd7 (qt/qtdeclarative/6.3) 33ad379056 (qt/qtdeclarative/6.2)

    Description

      Update on 8th of Feb 2022, the Drag&drop example (the reproducer) itself has been fixed in https://bugreports.qt.io/browse/QTBUG-99436. So, "older" version of the example needs to be used to reproduce the actual issue.

      The QML item position does not follow the layout after drag'n drop.

      This problem can be reproduced using the "draganddrop" QML example that comes with Qt. It works fine with Qt 6.2.0, but it's broken with Qt 6.2.1 and Qt 6.2.2.

      1) With Qt 6.2.0: you can see below that after drag'n drop, the tiles are following the layout present in the QML view, which is the expected behavior

      2) With Qt 6.2.1: you can see below that after drag'n drop, the tiles does NOT follow the layout, which is NOT expected.

      I did my tests in MacOS, but it might happen in other platforms too.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-98857
          # Subject Branch Project Status CR V

          Activity

            People

              ulherman Ulf Hermann
              gbkoerich George Broering Koerich
              Votes:
              4 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes