Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Bug in AnimationController?
QtWS25 Last Chance

Bug in AnimationController?

Scheduled Pinned Locked Moved QML and Qt Quick
1 Posts 1 Posters 480 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    ElanPlus2
    wrote on last edited by
    #1

    Hi

    This is my first post here. I have tried searching the web to see if my problem is already reported, maybe my problem is related to https://bugreports.qt-project.org/browse/QTBUG-25967 ?

    I've been trying to do some "accordion style page swiping stuff". As a starting point I used the Qt calqlatr demo and the AnimationController for inspiration.

    During my development I noticed that while dragging pages, the AnimationController animation would flicker and for a tiny moment the animation would display my page either at the start or end position and then jump back to the positon I expected.

    I added debug printouts to see what the AnimationController's progress value was before I updated it, what my intended new value was, then I set the progress value and immediately after read back the current value.

    It turns out that what I was seeing visually was also reflected in the progress value. Suddenly it would jump to 0 or 1 and then return to the value I had assigned.

    The problem is visible also in the calqlatr demo, if I just do some vigorous mouse movents trying to shift the position of the pages they will flicker.

    I'm using Qt 5.1.1 (Qt 5.1.1 for Windows 32-bit (MinGW 4.8, OpenGL, 666 MB)) from the downloads page.

    Has anyone else seen this?

    Thanks in advance,
    Pär-Olof Håkansson

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved