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

[REG] Popup shadow leaks events through on touch

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • P1: Critical
    • Resolution: Done
    • 5.9.0 Beta 3
    • 5.9.0 RC
    • Quick: Controls 2
    • None
    • Touch, Material style
    • 9f80a466772c7e61bf7013e5c2e1726ca7c85b50

    Description

      Steps:

      • Run the test app with the Material style on any device that has a touch screen
      • Drag to the right from within the popup's shadow

      Expected result:

      • The modal popup should block user input and therefore it should not be possible to drag the drawer open.

      Actual result:

      • It is possible to drag the drawer open if started from within the shadow of the modal popup.

      Test app:

      import QtQuick 2.7
      import QtQuick.Controls 2.0
      
      ApplicationWindow {
          id: window
          visible: true
          width: 400
          height: 400
      
          Drawer {
              width: window.width / 2
              height: window.height
              dragMargin: window.width
          }
      
          Popup {
              modal: true
              visible: true
              x: (window.width - width) / 2
              y: (window.height - height) / 2
              width: window.width / 3
              height: window.height / 3
              closePolicy: Popup.NoAutoClose
          }
      }
      

      Attachments

        For Gerrit Dashboard: QTBUG-60602
        # Subject Branch Project Status CR V

        Activity

          People

            Unassigned Unassigned
            jpnurmi J-P Nurmi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes