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

Modal Overlay don't block multi touch

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P1: Critical P1: Critical
    • 5.9.2
    • 5.9.0
    • Quick: Controls 2
    • None
    • Nexus 10 (Android 5.1), HTC One_M8 (Android 6.0)
    • 57810c5c736f69790dd49fa1146eb70de8c95a55

      In touch devices with two or more finger touch, it is possible for example to open combo box popup or click on the button, if modal overlay in ApplicationWindow is visible.

      import QtQuick 2.7
      import QtQuick.Controls 2.0
      import QtQuick.Layouts 1.3
      
      ApplicationWindow {
          visible: true
          width: 640
          height: 480
      
          ColumnLayout {
              spacing: 10
      
              ComboBox {
                  implicitWidth: 300
                  model: ListModel {
                      id: model
                      ListElement { text: "Banana" }
                      ListElement { text: "Apple" }
                      ListElement { text: "Coconut" }
                  }
              }
              Button {
                  property int clickCounter: 0
      
                  implicitWidth: 300
                  text: clickCounter
                  onClicked: clickCounter++
              }
          }
      
          Popup {
              id: popup
      
              x: parent.width - width
              y: parent.height - height
              modal: true
              width: 50
              height: 50
              closePolicy: Popup.NoAutoClose
          }
          Component.onCompleted: popup.open()
      }
      
      

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

            Unassigned Unassigned
            permotion88 Karol Polak
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes