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

QML WebView scrolling events are picked up by DragHandler and Flickables behind it

    XMLWordPrintable

Details

    • Windows
    • 3feab861f (dev), 53b5d93d9 (6.5), 4a26a7b92 (6.6)

    Description

      We have a floating pane on our app that contains a QML WebView that can be moved around the screen and resized. When the pane overlaps a part of the app that has a DragHandler and a Flickable, moving the scrollbars on the WebView propagates events to the DragHandler and Flickable behind it.

      The attached project is a stripped down version of it. The blue dialog can be moved around by dragging the header. It also can be resized using the red button on the lower right. When part of it is over the column of buttons, and you scroll the WebView, the buttons move up and down. The "Swipe" text appears at the top when the overlaid item also gets the swipe event from the WebView.

      Attachments

        1. tree-with-handlers.png
          60 kB
          Shawn Rutledge
        2. WebViewDragHandlerTest.zip
          3 kB
          Sharon Woods

        Issue Links

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

          Activity

            People

              srutledg Shawn Rutledge
              sharon.woods Sharon Woods
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are 2 open Gerrit changes