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

Material & Android: Drawer not closing when you tap modal overlay next to the Drawer itself in a range 100px

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.9.2
    • 5.8.0, 5.9.0 Beta 3
    • Quick: Controls 2
    • None
    • Nexus 5, Android 6.0.1
      Windows 10, Qt 5.8 & Qt 5.9 Beta 3

    Description

      Hey.

      Following an example code:

      import QtQuick 2.7
      import QtQuick.Controls 2.1
      
      ApplicationWindow {
          visible: true
          width: 640
          height: 480
          title: qsTr("Hello World")
      
          Drawer {
              id: drawer
      
              width: parent.width * 2 / 3
              height: parent.height
          }
      
          Button {
              anchors.centerIn: parent
              text: 'Open Drawer'
              onClicked: drawer.open()
          }
      }
      

      If you start this code with Material Style and Android, then you can try tap to overlay after press the button. So you can see the Drawer won't close.

      If you change Drawer width to 120pt. Then you can see, when you tap the right side of screen on overlay, is closing the Drawer. But not the area of 100pt right next to Drawer itself.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            firatagdas Firat Agdas
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes