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

WASM: Timers do not (always) work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2: Important P2: Important
    • None
    • 6.4.0 Beta4
    • None
    • Windows 10 21H2 (Build 22000.856)
      cmake 3.23.1
      emsdk 3.1.14
      Chrome Version 105.0.5195.127 (Offizieller Build) (64-Bit)
    • WebAssembly

      The attached example shows the problem.

      Built for windows if you start the application the seconds counter just starts to run as expected.

      But the WebAssembly app starts and does nothing. I added a button that loads the same counter in a Loader element, if you click it both timers start to run. I do not know why.

        1. CompiledFile.zip
          8.27 MB
        2. image-2022-12-27-10-28-36-343.png
          image-2022-12-27-10-28-36-343.png
          60 kB
        3. TestQTimer.zip
          5 kB
        4. TimerExample.zip
          2 kB
        5. TimerTest.zip
          2 kB
        6. WidgetTimerTest.zip
          18.05 MB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            Marscho Marscho
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes