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

Flickable delayed-press functionality must resend the same kind of press

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P1: Critical
    • Resolution: Unresolved
    • Affects Version/s: 6.0.0
    • Fix Version/s: 6.0.0
    • Labels:
      None

      Description

      This is one big reason for the event refactoring: even though Flickable doesn't explicitly deal with touch events, it should be able to replay them to delegates that do care about receiving actual touches instead of fake mousepresses.  (Further, Flickable should be able to flick via touch, because its event handling code can probably become agnostic about the device the event comes from: touch and mouse events begin to look more alike.  But we'll see about that.)

      After https://codereview.qt-project.org/c/qt/qtdeclarative/+/305381 the old hacks are somehow broken again, and it's not worth my time to fix the old hacks again when we want to do it this way instead.

      As tests get disabled along the way (such as tst_TouchMouse::buttonOnDelayedPressFlickable(release before press delay is over) ) they should be listed here, and then this bug can be marked fixed when the tests are passing again.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              srutledg Shawn Rutledge
              Reporter:
              srutledg Shawn Rutledge
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes