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

DeferredDelete events not handled when created by GLib dispatched events

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • 5.8.0 Alpha
    • 5.0.2
    • Core: Event loop
    • None

      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

        1. TestGlibLoop.tar.gz
          3 kB
          Nick Dedekind
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes