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

Qt5.3 regression in QML StackView? (especially on Android)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • None
    • 5.3.0 Beta1
    • Quick: Controls 1
    • None
    • Debian unstable Linux x86_64
      QtCreator 3.1.0 (online installer 14 Apr 2014 from revision 52592aa879)
      Qt 5.3.0 git stable branch
      Android SDK 22.6.2
    • Android
    • 6c09c2142e7319d72593e7f9f5391352da0a0dee 7f7e9faeb4b4a9c8f198ae774e92ab2bc1e471b9 4648dc566f72454fb49142b9f55929c9b9502853 10f0da6cfb56396a16ec741380556320fba86552

    Description

      There appears to be a regression from Qt 5.2.1 (current online installer for Linux 64 bit) going to Qt 5.3 (current git stable) in the behaviour of the Qt Quick Control StackView.

      On Android (testing on an API19 Android Virtual Device), the test code works as intended under Qt 5.2.1, but gives a blank white space instead of a StackView under Qt 5.3.0 (git stable).

      Replace the default main.qml generated by a new QtQuick project in QtCreator with the attached file using StackView. The app works as expected in Qt 5.2.1: the text in HelpPage.qml is initially displayed and can be replaced by AboutPage.qml by clicking on the Menu items.

      Compiling under Qt 5.3.0, the space occupied by the StackView comes up blank, not showing the text. The menu can still be seen.

      There is also a difference in behaviour building for Linux desktop. The app starts with a reasonable initial size (width&height) under Qt 5.2.1, but starts with zero size (zero width) under Qt 5.3. On the desktop I can manually resize, after which the app behaves "normally". Desktop behaviour could be easily controlled (e.g. accessing the QWindow associated with the QQmlApplicationEngine, showMaximised(), etc), but the failure on Android still then remains.

      Attachments

        1. AboutPage.qml
          0.5 kB
        2. HelpPage.qml
          0.6 kB
        3. main.qml
          0.9 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            smd Jan Arve
            rizzer Drew Parsons
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes