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

Incorrect animation types are not validated properly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • Future QSR version
    • QSR 1.2
    • Tooling
    • None

      1) Replace B transition number animation with AnchorAnimation and rebuild
      -> no warnings, no errors.
      -> user is not notified, but the state is changed without animations in the runtime.
       
      Expected Result
      1) Correct values are accepted and work as expected
      2) Incorrect values are processed, and the user is notified of those.
      3) The safety manual has explanations for the topic.

      Basically, you can put any Qt Quick animation (only number animation supported in QSR) and you do not get any warnings or errors.

      https://doc.qt.io/qt-5/qtquick-statesanimations-animations.html

       

      2) Replace B transition number animation with kikkeliskokkelis and rebuild.
      Layout tool crashes

      Compile output:
      mingw32-make[1]: *** [Makefile.Debug:136: ../../../../X_RC3_tests/TC_R2.3.4_Host_Win_10/indicators_R2345/layoutData/MainForm/MainForm.srl] Error -1073741819
      mingw32-make[1]: Leaving directory 'D:/QtQSR1.2/Examples/QtSafeRenderer-1.2.0/saferenderer/build-indicators-Desktop_Qt_5_15_2_MinGW_64_bit-Debug'
      mingw32-make: *** [Makefile:45: debug] Error 2
      13:47:52: The process "D:\QtQSR1.2\Tools\mingw810_64\bin\mingw32-make.exe" exited with code 2.
      Error while building/deploying project indicators (kit: Desktop Qt 5.15.2 MinGW 64-bit)
      When executing step "Make"
      13:47:52: Elapsed time: 00:09.

      Maybe it should crash if the animation is not part of the Qt Quick. But could there be a handled exception and message to the user?

       

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

            teemu.holappa Teemu Holappa
            assaarel Asmo Saarela (Inactive)
            Veli-Pekka Heinonen Veli-Pekka Heinonen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes