@Andrea - Sure, no problem! ;)

@Tim - Yes, checking for e.g. 'verticalVelocity' property of the
Flickable could accomplish it. QQC2 are not provided with the Ubuntu UI
Toolkit and they are available only with Qt 5.7, so I would prefer a
solution which can be easily integrated in a Ubuntu convergent app.

I'll have a try checking for the velocity of the flick action, since it
may be desiderable to show such overlay for any 'fast-scroll' event.

However, I wanted to provide an example why such property could be
useful also for UITK ScrollBars. Calling it 'pressed' for consistence
sounds good to me.

Thank you guys for the fast reply, have a great weekend!

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in
Ubuntu.
https://bugs.launchpad.net/bugs/1627078

Title:
  ScrollBars and ScrollView - add 'isDragged' or 'isScrolling' property

Status in ubuntu-ui-toolkit package in Ubuntu:
  New

Bug description:
  I'm trying to implement a "page indicator" to be shown when the user
  scrolls a Flickable using a UITK ScrollBar. The idea is to mimic a
  feature available in Adobe Reader for Android.

  i.e. http://imgur.com/a/OzjYG

  In order to do this, I have to access the "draggingThumb" property of
  the style instance of a UITK ScrollBar, which is meant to be private.

  Item {
      [...]
      visible: scrollView.verticalScrollbar.__styleInstance.draggingThumb
  }

  What it could be useful is to expose this property directly in the ScrollBar.
  Using the Flickable properties for this purpose would be a bit complicated, 
since it wouldn't be desiderable to see such overlay during an "ordinary" 
touch/flick event.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1627078/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to