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

DeferredDelete events not handled when created by GLib dispatched events

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: 5.0.2
    • Fix Version/s: 5.8.0 Alpha
    • Component/s: Core: Event loop
    • Labels:
      None

      Description

      Deferred delete events are not handled if they were posted from a glib event callback execution cycle.
      loop level for event = loop level for current thread.

      I believe the loop level should be incremented before calling g_main_context_iteration in QEventDispatcherGlib::processEvents.

      QScopedLoopLevelCounter loopLevelCounter(threadData);
      

      Test App supplied to reproduce the problem.
      unzip and ./run

        Attachments

          Issue Links

          For Gerrit Dashboard: QTBUG-32859
          # Subject Branch Project Status CR V

            Activity

              People

              • Assignee:
                paangele Paolo Angelelli
                Reporter:
                dednick Nick Dedekind
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes