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

Crash of a simple MouseArea when injecting touch event

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.12.1
    • None
    • Windows 10
    • Windows

    Description

      I have two components:

      • a QML app that contains a simple MouseArea
      • an exe that inject touch event

      Touching the mouseArea while injecting touch events make the qml app crash.

      The QML code:

       

      import QtQuick 2.12
      
      Rectangle{
          id: root
          width: 1920
          height: 1080
          color: "blue"
          MouseArea{
              anchors.fill: parent
              enabled: true
          }
      }
      

       

      You can inject touch events with this example. (you probably want to add Sleep(1000) before the InjectTouchInput call)

      It crash every time with Qt 5.12. I can't reproduce this bug with Qt 5.8, but I had crash that look similar with more complex/messy QML app.

       

       

       

      Attachments

        Issue Links

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

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              qtusertouch Qt User
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes