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

QML item Menu doesn't close with touch screen on CloseOnPressOutside

    XMLWordPrintable

Details

    • Linux/X11
    • 75990e754b (qt/qtdeclarative/dev) 75990e754b (qt/tqtc-qtdeclarative/dev) 3c761b5bb0 (qt/qtdeclarative/6.4) 3c761b5bb0 (qt/tqtc-qtdeclarative/6.4) 3c761b5bb0 (qt/qtdeclarative/6.4.1), f714a79dd (tqtc/lts-6.2)

    Description

      The issue is with QtQuick Overlay / Popup and the CloseOnPressOutside close policy when using touch screen.

      To reproduce the issue.

      1. Run the attached example.
      2. Using a touch screen, click a button which opens a popup menu and close it with clicking outside of it.
      3. Repeat the same until the popup menu gets stuck and is not closed. Usually takes 2-3 open and close to occur.

      The expected  behavior is that the popup menu closes. If the ESC from the keyboard or a mouse click is used outside the menu it is closed as expected. If the dynamic menu creation option is checked in the example when it re-creates the popup menu component on each button click the issue is not occurring.

      Attachments

        Issue Links

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

          Activity

            People

              srutledg Shawn Rutledge
              tuomas.vaarala Tuomas Vaarala
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes