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

wasm: Changing QTimer interval in multithreaded application breaks the timer

XMLWordPrintable

    • WebAssembly
    • df4be70740 (qt/qtbase/dev) e57b49f346 (qt/qtbase/6.4) df4be70740 (qt/tqtc-qtbase/dev) e57b49f346 (qt/tqtc-qtbase/6.4) f19f512d5e (qt/qtbase/6.4.0)

      Changing timer interval can sometimes break the timer. In attached example you should see timer with 1000ms interval first, then it should change to 100ms interval (every 5s). But it sometimes after this change, it stops ticking.

      It seems to work if the timer is instead first stopped and then started again with the new interval. Also changing interval of timers in main thread (in multithreaded build) works fine. Maybe it did work a little better, but same issues started to happen.

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

            mikolaj.boc Mikołaj Boc (Inactive)
            poikelin Joni Poikelin
            Votes:
            10 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes