Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-66598

When a history state is included inside a parent state then it is excluded from the generated code for the state machine

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P2: Important
    • None
    • 5.10.1, 5.15.7, 6.2.1
    • XML: SCXML
    • macOS 10.12
    • macOS

    Description

      When a history state is included inside a parent state then it is excluded from the generated code for the state machine. In the attached example, the history state is inside the Window state, as a result when you try to trigger the doorClosed state it will have the wrong index and it fails to trigger any bindings attached to that state.

      This is because the generated code does not include the history state which means the indexes are off by one after where that state would have been included.

      Attachments

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

        Activity

          People

            manordheim MÃ¥rten Nordheim
            andysh Andy Shaw
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes