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

Impossible to use PinchArea and MouseArea at same time to capture touch events inside the same item

    XMLWordPrintable

    Details

    • Commits:
      468626e99a90d6ac21cb311cde05c658ccb3b781

      Description

      I'm trying to use both Pinch/Mouse Area to capture clicks and gestures inside the same area. Running the attached example with QtQuick 1.1 + Qt4 it works, but moving to QtQuick 2.0 or using qmlviewer from Qt5 it captures just pinch events. I'm using it on Harmattan/MeeGo on N9 hardware. My usecase is the Snowshoe(www.snowshoe.cc) mobile browser where I've an overview screen that supports clicks to maximize open tabs or a pinch to change the amount of tabs shown to the user.

      The example is based on https://bugreports.qt-project.org/browse/QTBUG-18826 code.

        Attachments

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

          Activity

            People

            Assignee:
            srutledg Shawn Rutledge
            Reporter:
            luciano.wolf Luciano Wolf
            Votes:
            9 Vote for this issue
            Watchers:
            8 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes