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

Crash after dragging Qt Quick item on Windows desktop touchscreen

    XMLWordPrintable

Details

    • Windows
    • 850858cce6191593aaab3176932bc04a6f97f202 (qt/qtbase/5.12)

    Description

      After dragging a QML item via a desktop touchscreen, the next time you touch the screen the app crashes.

      Steps to reproduce:

      1. Use the attached Qt Creator project, with the "Desktop Qt 5.12.0 MSVC2017 64bit" kit. This project is just the "Qt Quick Empty Project" project template, with no modifications except for inserting this in main.qml:
            Rectangle {
                width: 20
                height: 20
                color: "#ff0000"
        
                Drag.active: mouseArea.drag.active
                Drag.dragType: Drag.Automatic
        
                MouseArea {
                    id: mouseArea
                    anchors.fill: parent
                    drag.target: parent
                }
            }
        
      1. Drag the red square a few times with your finger.

      Result:

      Access violation on 0x0000000000000084.

      Attachments

        Issue Links

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

          Activity

            People

              anrocha André De La Rocha (Inactive)
              karlhendrikse-serato Karl Hendrikse
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes