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

Flickable steals drag event from PathView.

    XMLWordPrintable

Details

    • 8fd398c9d2f5f54e446e0b402bc63a2edb50da6f

    Description

      Flickable {
          width: 300
          height: 500
          contentHeight: col.height
          Column {
              id: col
              PathView {
                  clip: true
                  width: 300
                  height: 300
                  model: 50
                  pathItemCount: 4
                  path: Path {
                      startX: 150
                      startY: -50
                      PathLine {
                          x: 150
                          y: 350
                      }
                  }
      
                  delegate: Rectangle {
                      width: 300
                      height: 100
                      color: "transparent"
                      border.width: 4
                      border.color: "green"
                      Text {
                          anchors.centerIn: parent
                          font.pixelSize: 50
                          text: parent.PathView.view.dragging + ":" + parent.PathView.view.flicking
                      }
                  }
              }
              Rectangle {
                      color: "yellow"
                      width: 300
                      height: 600
                  }
          }
      }
      

      1) Drag the PathView.
      2) While the PathView is flicking, try again to drag the PathView
      Expected result: The PathView will be dragging
      Observed result: The Flickable will be dragging

      Attachments

        Issue Links

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

          Activity

            People

              srutledg Shawn Rutledge
              evgeny_kolchin Evgeny Kolchin
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes