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

WebAssembly: Event dispatcher mk II

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • P2: Important
    • 6.2
    • None
    • Core: Event loop
    • None

    Description

      The current event dispatcher implementation has some defects we'd like to correct:

      • Make a QtCore-only event dispatcher, so that e.g. network can work with QCoreApplication.
      • Don't inherit QUnixEventDispatcherQPA. Some of the virtuals we'd like to override are final on that class. Either re-implement or drop the features it provides (such as n:1 timer multiplexing).
      • Remove the need for calling QWasmEventDispatcher::maintainTimers() at the end of all wakeups. Call it automatically on postEvent, registerTimer, and requestUpdate instead.
      • Make sure the multithreading missing event loop wakeup bug gets fixed (QTBUG-75793)
      • Support not calling app.exec(). Creating a Q[Gui|]Application instance should be sufficient.

      Bonus

      • Platform autotests for the event dispatcher
      • Asyncify support

      Attachments

        Issue Links

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

          Activity

            People

              Unassigned Unassigned
              sorvig Morten Sørvig
              Veli-Pekka Heinonen Veli-Pekka Heinonen
              Tor Arne Vestbø Tor Arne Vestbø
              Votes:
              2 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes