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

SCXML Designer sometimes reorders states in the XML file

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 10.0.0
    • SCXML support
    • None

    Description

      The image below illustrates the problem. The background window is QtCreator 10 with a SCML state machine and the forground window is the diff after doing this:

      • move the circled state a bit left with the mouse and save
      • press Ctrl-Z to make it move back and save

      Then the XML section for the moved-and-reverted state for some reason moved below the other substates if Processing.

      When such a move-save-revert-save sequence happens when you want to change an onEntry script of a state, the real change in the script is not visible when diffing the code, as the diff tool just sees one big block being deleted and another big block being inserted.

      Attachments

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

        Activity

          People

            jkobus Jarek Kobus
            johnny.njaastad Johnny Njåstad
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes