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

Initial child state is sometimes entered before parent state

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Not Evaluated
    • Resolution: Out of scope
    • 4.8.1, 4.8.6, 4.8.x
    • None
    • Core: State Machine
    • None
    • Ubuntu 12.04 LTS with Qt 4.8.1, Fedora 20 with Qt 4.8.6 - Bug does not show under Fedora 20 with Qt 5.5

    Description

      A parent state with child mode "QState::ExclusiveStates" is should be entered indirectly via his own parent state, which has the child mode "QState::ParallelStates".

      It is observed, that the child state is sometimes entered before the parent state.

      To reproduce this bug, compile attached code and look at the text output. On my system I see lines such as

      Entering state "S00100_initial"
      Error: Reached child state "S00100_initial" before parent state "S00100"
      Entering state "S00101"
      Entering state "S00100"

      where I would expect output like

      Entering state "S00100"
      Entering state "S00101"
      Entering state "S00100_initial"

      S00100 should alway be entered before its child state S00100_initial

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            fpesth Florian Pesth
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes