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

[REG] Popup shadow leaks events through on touch

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.9.0 Beta 3
    • Fix Version/s: 5.9.0 RC
    • Component/s: Quick: Controls 2
    • Labels:
      None
    • Environment:
      Touch, Material style

      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

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

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            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