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

PinchHandler and HoverHandler react to touch event even under popup dialog

XMLWordPrintable

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

      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.

       

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

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

              Created:
              Updated:

                There is 1 open Gerrit change