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

ScrollView doesn't have pressDelay

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 6.4.0 Beta1
    • Quick: Controls 2
    • None

      I'm not sure if it should have it, because it's a kludge to implement, and I don't want to see us write yet another copy of that code, creating a synthetic event, another timer and all that. But users often use Flickable.pressDelay to work around grab problems. So I guess if they want it, they need to wrap an existing Flickable with a ScrollView, which is yet another thing that doesn't fit very well with that proposed story-line that Flickable is too low-level for most UIs and everyone should use ScrollView instead.

      One decent way to implement it is if we are sure ScrollView will always depend on Flickable (either an existing one or a new one), it can have the property and the accessors can "pass through" the value to whichever Flickable.

      Another way is to move the delayed-press functionality to QQuickDeliveryAgent and make it reusable. (Or maybe even to QtGui?) Probably that's eventually needed anyway.

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

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            srutledg Shawn Rutledge
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes