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

Drawer doesn't detect swipe velocity

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.7.0 Beta
    • 5.6.0 RC
    • Quick: Controls 2
    • None
    • 7a96f2c6f184af87b6669a84a804d4ea4ff02578

    Description

      When closing the Drawer by swiping/flicking fast, it sometimes fails to detect the correct direction if the position of the control doesn't exceed certain limit (0.7). It should detect the swipe velocity and close appropriately, when the user clearly means to close the drawer.

      Note: QQuickDrawerPrivate::handleMouseReleaseEvent() has some code commented out that originates somewhere from QQuickFlickable or friends, but the velocity capability is not available on Android at least:

      • QTouchDevice::Velocity
      • QGuiApplicationPrivate::mouseEventCaps()
      • QGuiApplicationPrivate::mouseEventVelocity()

      Attachments

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

        Activity

          People

            mitch_curtis Mitch Curtis
            jpnurmi J-P Nurmi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes