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

Allow slowing animations

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • Icon: Not Evaluated Not Evaluated
    • None
    • None
    • None

      The QML tools already have a public way of slowing animations: the slow-animations argument. This just calls

      QUnifiedTimer::instance()->setSlowModeEnabled(true);
      

      Having a way of setting this for any Qt Quick application would be really useful in debugging animations.

      My suggestion would be to have an enviroment variable; e.g. QT_QUICK_SLOW_ANIMATIONS. Even having a debug or info logging category that slows animations when enabled would be enough (which we already do in other places, publicly: https://doc.qt.io/qt-6/qtquick-visualcanvas-scenegraph.html#scene-graph-and-rendering).

        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
            mitch_curtis Mitch Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes