Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-32603

Implicit Initial State wrongly handled in SCXML editor

    XMLWordPrintable

Details

    • Windows

    Description

      Under some conditions, Qt Creator SCXML editor is not handling the "implicit initial state" in an expected way.

      The issues can be reproduced with the steps below, with the scxml file included in the attached example project :

       

      Issue 1:

      1. Drag the "ImplicitInitial" state with the Initial state marker out from the State_1.

      The initial state marker will move to the "ShouldNeverBeInitial" state.

      2. Drag the "ImplicitInitial" state back into the State_1.

      The inisital state marker never come back to the "ImplicitInitial".

       

      Issue 2:

      1. Drag the "ImplicitInitial" state with the Initial state marker to somewhere within the State_1.

      The initial state marker will temporary move to the "ShouldNeverBeInitial", but it will go back to "ImplicitInitial" state when you release the button.

      2. Try to go back to the default state by repeatedly hitting ctrl + z.

      The "ImplicitInitial" state will go back to the default position, but the inisital state marker will never be go back there.

       

      Workaround:

      Both issues can be avoided by explicitly set "ImplicitInitial" as the initial state by right-clicking on "ImplicitInitial" and selecting "Set as Initial".

       

      This issue may be related to QTBUG-109989 .

      Attachments

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

        Activity

          People

            jkobus Jarek Kobus
            hitoshiito Hitoshi Ito
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes