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

TapHandler receives an extra tap event when releasing a long press event on the touch screen.

XMLWordPrintable

    • Windows

      On Windows, TapHandler receives an extra tap event when releasing a long press event on a touch screen. The extra tap event is caused by synthesized MouseButtonPress and MouseButtonRelease events.

      To reproduce the issue on a touch screen:

      • Run the attached example project.
      • Long press until a long press event is generated, and then release.

      As a workaround, filtering out synthesized mouse events solves the issue (in main.cpp, comment out line 41 and uncomment line 42).

      The issue only appears on touch screens, but not with a mouse.

        1. taptest.zip
          2 kB
          Mehdi Belila
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            mahdi.belila Mehdi Belila
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes