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

QStateMachine stops processing internal events too early

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 5.5.0 RC
    • 5.4.1, 5.5.0 Alpha
    • State Machine
    • None
    • 67d255f18343d74bbc9a0eec460995ca615473be

      Event sequence:

      • external event that selects a transition
      • internal event that does not select a transition
      • internal event that does select a transition

      In this case, the first internal event is dequeued, checked, and discarded because it does not select any transitions. Instead of pulling the next event from the internal queue, the state machine will dequeue the external event. Only after that is processed, the second internal event is processed.

      This behaviour is invalid: the internal queue should be emptied before the external queue.

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

            erikv Erik Verbruggen
            erikv Erik Verbruggen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes