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

Duplicated tap-and-hold events and DontStartGesturesOnChilden problem

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.0.0, 5.9.4
    • Fix Version/s: None
    • Labels:
      None

      Description

      There are several issues in the gesture system affected by tiny commit added back in the 5.0 development cycle. The commit is 602ea84f44ab507e5603ed0808bf4a5dd145d773 and surprisingly, it was done to fix tap and hold, but what it does for certain applications (that grab a gesture in the top level widget) is cause duplicated tap and hold events.

      It also causes that the Qt::DontStartGestureOnChildren flag is not honored, at least in some cases.

      I can confirm that in a large, complex, and heavy user of the gesture system, unapplying said commit fixes several issues, and causes no apparent regressions.

      I'm also attaching a self contained test case that proves the two issues, and how removing those lines fixes them.

        Attachments

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

          Activity

            People

            Assignee:
            qt.team.quick.subscriptions Qt Quick and Widgets Team
            Reporter:
            alex-vs Alejandro Exojo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes