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

Flickable item issue

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.14.0
    • Fix Version/s: None
    • Labels:
      None
    • Platform/s:
      Windows

      Description

      When the flick(xVelocity, qreal yVelocity) method  is called that simulates a real flick, the horizontalVelocity and verticalVelocity properties are not set properly, instead of the acceleration values that are passed to the flick(xVelocity, qreal yVelocity) method they contain zeros. With a real flick, everything is fine.
      There is also a problem of inconsistency of acceleration signs with artificial and real flick. For example, if I make a real horizontal flick from left to right, then horizontalVelocity is negative and causes a decrease in contentX. But if you call the flick method with negative horizontal acceleration, then contentX grows.
       

        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:
            vladimir_sazonov Vladimir Sazonov
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes