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

QStateMachine stops processing internal events too early

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes