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

Mention default state in safety manual FAQ

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • QSR 1.2
    • QSR 1.2
    • Documentation
    • None
    • I28e93de9828091700a8f52f4577fe7e5027f3dd8

    Description

      It might be a good idea to explain that the default state for the QML type is implicit, and it consumes one state from the maximum number of states 

      (see https://doc-snapshots.qt.io/qtsaferenderer/saferenderer-constraints.html#MAX_NUM_OF_STATES-var)

      By default the value is eight, therefore user can add seven states, not eight states, because the default state needs to be counted. But it is not visible since it is implicitly defined.

      This default state is not included in the linked Qt documentation, and the limitation is QSR specific thing due to static memory allocation.

      And the name of the default state is "" (empty string) when referring to it in transitions in the QML. Or when sending an createStateChangeEvent. 

      This topic is popping up, so it is frequently asked question

       

      Attachments

        For Gerrit Dashboard: QSR-1063
        # Subject Branch Project Status CR V

        Activity

          People

            tarjasundqvist Tarja Sundqvist
            assaarel Asmo Saarela (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes