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

[Reg 5.8 -> 5.9 RC] Qt Quick Controls 2: Page content whith anchor.fill: parent can appear below header and footer

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.9.1
    • 5.9.0 RC, 5.9.0 RC 2
    • Quick: Controls 2
    • None
    • MacOS 10.11.6 El Capitan with XCode 8.2.1
      iOS Simulator with iOS 10.2
      QtCreator 4.3.0 with qt 5.8 and Qt 5.9 RC2
    • 830ab8aa4fa805c011eb082dfd2075ab4f03f919

    Description

      When navigating using a StackView, if the first page does not contain a header and/or footer but the next page does, using anchor.fill ignores the header and footer, resulting in the content being displayed behind the header and the footer.

      Steps to reproduce:
      1. Have both Qt 5.8 and Qt 5.9 installed
      2. Compile and run the attached program with Qt 5.8
      3. Observe that the search page content displays fine after clicking the Search button.
      4. Compile and run the attached program with Qt 5.9
      5. Observe that the search field appears below the header.

      Notes:
      Note that when setting the Search.qml as the initial StackView item does not cause the issue.
      Note that this issue also occurs in the iOS Simulator.

      Attachments

        1. QtQuickControls2_5-9.png
          29 kB
          Frederic Tabbal
        2. QtQuickControls2_5-9_iOSSimulator.png
          60 kB
          Frederic Tabbal
        3. QtQuickControls2_5-8.png
          32 kB
          Frederic Tabbal
        4. BugContentBelowHeaderFooter.zip
          6 kB
          Frederic Tabbal
        For Gerrit Dashboard: QTBUG-61109
        # Subject Branch Project Status CR V

        Activity

          People

            Unassigned Unassigned
            fredt Frederic Tabbal
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes