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

Details

    • Windows

    Description

      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.

      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
            mahdi.belila Mehdi Belila
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes