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

MouseArea gets stuck in pressed state on iOS

    XMLWordPrintable

Details

    • iOS/tvOS/watchOS
    • 49a760e454158

    Description

      The MouseArea stopped working with Qt 5.11 Beta 2 on iOS 11:

      import QtQuick 2.7
      import QtQuick.Controls 2.0
      
      ApplicationWindow {
          visible: true
          width: 640
          height: 480
          title: qsTr("Hello World")
      
          MouseArea {
              anchors.fill: parent
              acceptedButtons: Qt.LeftButton | Qt.RightButton
              
              onDoubleClicked: {
                  console.log("onDoubleClicked");
              }        
              
              onClicked: {
                  console.log("onClicked");
              }
              
              onPressAndHold: {
                  console.log("onPressAndHold");
              }
          }
      }
      
      

      Attachments

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

        Activity

          People

            vestbo Tor Arne Vestbø
            DanielSt Peter Staab
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes