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

Non-interactive SwipeView steals touch events from MapView

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.6.2
    • Quick: Controls 2
    • None
    • Android, iOS/tvOS/watchOS

    Description

      When putting a MapView inside a non-interactive SwipeView, the MapViews PinchHandler doesn't work anymore.
      Apparently the Flickable (SwipeView has a ListView as contentItem) steals touch events from the PinchHandler although it should be inactive. 
      Without the SwipeVIew, the MapView works like a charm. 

       
      Example code:

      import QtQuick
      import QtQuick.Controls
      import QtLocation
      
      ApplicationWindow {
          visible: true    
          SwipeView {
              anchors.fill: parent
              interactive: false
              MapView {
                  map.plugin: Plugin {
                      id: mapPlugin
                      name: "osm"
                  }
              }
          }
      } 

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            p.heimann Paul Heimann
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes