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

PinchHandler and HoverHandler react to touch event even under popup dialog

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.14.2
    • None
    • Android

    Description

      The use case is that there is an empty Item. It has PinchHandler and HoverHandler defined in it.

       

      //Below code are dummy, not working, just to show the bug steps
      Item {
          PinchHandler {
              onUpdated: {
                  console.debug("PinchHandler::updated");
              }
          }
      
          HoverHandler {
              onPointChanged: {
                  console.debug("HoverHandler::onPointChanged");
              }
          }
      
      Button {
          onclick:{
             dialog.open()
          }
      }

       

      When dialog is popup, and acting on the dialog. The PinchHandler and HoverHandler signals are trigged. It should be a bug of these two handlers, it should not received any event because they are behind the dialog.

       

      Attachments

        Issue Links

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              bugman Vico Liang
              Votes:
              4 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated: