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

PathView increment/decrementCurrentIndex behavior depends on highlightMoveDuration property

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.0.0, 5.1.0 , 5.1.1, 5.2.0 RC1, 5.4.1, 5.5.0 Alpha, 5.5.0 Beta, 5.5.0, 5.5.1, 5.10.1, 5.11.1, 5.12.0 Beta 1
    • Windows 7, 32bit
      Linux, 32bit and 64bit

    Description

      PathView's increment/decrementCurrentIndex methods depend on the hightlightMoveDuration setting. Basically the index will only change if the current pathview animation is complete. So if you call these repeatedly at a high frequency, the index you end up at is somewhat undefined.

      So the method names are misleading the way they are currently implemented.

      If you try the spinner example that comes with Qt 5.1.1 (in examples/quick/ui-components/spinner), you'll find that if you try to hold a cursor key down (up or down), the PathView item does not handle that properly. Scrolling slows down every time it received a new keyboard event, so it's not usable in a real-world application.

      In comparison with Quick 1.0: the same spinner example there is somewhat better. Current index is incremented properly, but the animation is jerky.

      Attachments

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

        Activity

          People

            srutledg Shawn Rutledge
            pyrrhula Ola Røer Thorsen
            Votes:
            3 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes