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

QML SafeArea type only works if full screen is entered first

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2: Important P2: Important
    • 6.9.2, 6.10.0 Beta3
    • 6.9.0 RC
    • Quick: Other
    • None
    • Android
    • e96a4b84e (dev), 1d014381f (6.9), 05f8abc61 (dev), 0b69f2f7a (6.10), 09cdda952 (6.9)
    • 2025wk22s1-2QtforAndroid

      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

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes