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

QQmlApplicationEngine shows white screen on starting/closing of Android application

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.3.1
    • 5.3.0 RC1
    • Quick: Other
    • None
    • Android
    • 80b6fbc2d9dfc753d6570e971aa4cf4f3420585c, 90808ead98edbab33a6bcc724d123864842a5ed3

    Description

      I have created two simple Qt Quick application for Android. One application was based on Qt 5.2.1 (in wizard was selected Qt Quick 2.0) and another one on Qt 5.3.0 RC (in wizard was selected Qt Quick 2.2). Both applications should fill screen with red color and write "Hello world" at the center of screen.

      Here is my results of execution of these applications on the same Android device:
      1) Application based on Qt 5.2.1 works correctly and show red screen with the text immediately after execution.
      2) After execution of application based on Qt 5.3.0 RC, I see white screen around 1 second and only after that red screen with the text appears. Also, I see white screen around 1 second before closing the application.

      The main difference between both applications is way to show QML. In Qt 5.2.1 it is QtQuick2ApplicationViewer and in Qt 5.3.0 it is QQmlApplicationEngine.

      Looks like QQmlApplicationEngine is adding some delay before showing the application window and closing the application. I tried to use solution from here (http://stackoverflow.com/questions/18506784/qml-and-c-with-qt-quick-2-application), but it does not help.

      I see the same behavior on few devices (Lenovo S820, Samsung Galaxy S3, HTC Desire 600 and others) and on emulator too.

      Attachments

        Issue Links

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

          Activity

            People

              esabraha Eskil Abrahamsen Blomfeldt
              alexblack Alex Black
              Votes:
              6 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes