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

QML SafeArea type only works if full screen is entered first

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.9.0 RC
    • Quick: Other
    • None
    • Android

    Description

      Hello, it seems the new SafeArea QML type there seems to be an issue with getting the "safe areas" to appear on Android.

      In the attached example, the SafeArea was set up similar to how it is done in the documentation: https://doc-snapshots.qt.io/qt6-dev/qml-qtquick-safearea.html. However, the SafeArea only appears when the window is put into "Window.FullScreen" mode first, then put in "Window.Windowed" mode. It is expected that the SafeArea should be presented by default, or at least be visible without first needing to go into "Window.Windowed".

       

      This was tested in the following environment:

      • Qt 6.9.0-rc
      • SDK version 11.0
      • NDK Version: 27.2.124
      • OS version: API level 35 (SDK 35)
      • SDK platform: Google APIs Intel x86_64 Atom System Image

      Attachments

        For Gerrit Dashboard: QTBUG-135227
        # Subject Branch Project Status CR V

        Activity

          People

            assam Assam Boudjelthia
            benjamin.hadra Benjamin Hadra
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There is 1 open Gerrit change