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

WASM: Gray screen flashes before the main window showed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1: Critical P1: Critical
    • 6.8
    • 6.8.0 Beta3
    • Other
    • None
    • WebAssembly

      In the previous WASM platforms (such as 6.5.3), I set a background color in the HTML, for example, #000000, and then I also set the same background color in the QML Window. As a result, this WASM webpage would remain black from the moment it was opened until the program loaded successfully.

      However, in version 6.8.0 Beta3, with the same code, a gray background flashes. This seems to occur in the process between the successful loading of the xxx.wasm file and the display of the main program window. The gray flash only lasts for a short time, roughly between 100ms and a few hundred ms. I tested the simplest QML program, and I could still see this gray flash, which results in a flicker during the loading process, making the loading process feel unnatural.

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

            piwierci Piotr WierciƄski
            jasonwong Jason Wong
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes