Uploaded image for project: 'Qt Safe Renderer'
  1. Qt Safe Renderer
  2. QSR-989

Dynamic text scaling in animations should give warning or error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Fixed
    • Affects Version/s: QSR 1.2
    • Fix Version/s: QSR 1.2
    • Component/s: Runtime, Tooling
    • Labels:
      None

      Description

      The documentation rules out the dynamic safe text scaling.

      See https://doc-snapshots.qt.io/qtsaferenderer/qtsr-animations.html#animation-constraints-in-qt-safe-renderer

      "Dynamic text scaling is not supported in animations."

      While the documentation clearly mentions the topic, the tooling or runtime allows scaling of the dynamic text without warnings or errors. Maybe some notification to user could be in place if the user specifies such transition?

      Static safe text has the scaling for the size (cropping)

      And if you scale dynamic safe text, the tooling and runtime allows it. But in that case, the content of the text is set to the original when you have the state transition. 

      So state transitions and color changes are OK for the dynamic safe text. And set text event works fine. 

      But in case the involved state has scaling, then the text will be set to the original one in the QML file, and it won't change even if you would go back to the default state, and try to set the text again.

      So please consider if there should be a notification for the user?

      Or should there be a mentioning here so that the user would be able to avoid the pitfalls?

      https://doc-snapshots.qt.io/qtsaferenderer/qtsr-visibility.html 

      Or both?

        TestRail: Results

          Attachments

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

            Activity

              People

              Assignee:
              teemu.holappa Teemu Holappa
              Reporter:
              assaarel Asmo Saarela
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes

                    TestRail: Runs

                      TestRail: Cases