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

Invoked state machine sends event but QScxmlStateMachine::connectToEvent cannot capture it

    XMLWordPrintable

Details

    Description

      Reproducer attached. It features a parent state machine that will invoke a child state machine. The child state machine is going to send out an event on entering its only state.

      Expected result:
      "testevent received "testevent" QVariant(QString, "from invoked")" should be output to console since that should be capture by QScxmlStateMachine::connectToEvent set to the child state machine.

      Actual result:
      No such output. Although child state machine is working (one can tell from the other 2 logs), no event is captured.

      Attachments

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

        Activity

          People

            ulherman Ulf Hermann
            luqiaochen Luqiao Chen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes