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

WASM: Timers do not (always) work

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • 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

    Description

      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.

      Attachments

        1. CompiledFile.zip
          8.27 MB
          JIEBIN CAO
        2. image-2022-12-27-10-28-36-343.png
          60 kB
          Marscho
        3. TestQTimer.zip
          5 kB
          JIEBIN CAO
        4. TimerExample.zip
          2 kB
          Marscho
        5. TimerTest.zip
          2 kB
          Marscho
        6. WidgetTimerTest.zip
          18.05 MB
          Marscho

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes