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

Qt::WindowNoState does not make status bar re-appear on Android

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.2.1
    • QPA
    • None
    • QtMobile 5.2.1 on Nexus 5 running Android 4.4.2
    • Android

    Description

      You can make an app go fullscreen (hide status bar and/or immersive mode on Android 4.4) by setting the QQuickView's windowState to Qt::WindowFullScreen.

      To exit fullscreen mode, setting it back to Qt::WindowNoState does not work, you need to use Qt::WindowMaximized instead.

      The issue lies in qtbase/src/plugins/platforms/android/qandroidplatformwindow.cpp in updateStatusBarVisibility() where it only calls QtAndroid::showStatusBar() on Qt::WindowMaximized but not on Qt::WindowNoState.

      Attachments

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

        Activity

          People

            tvete Paul Olav Tvete
            broulik Kai Uwe Broulik
            Votes:
            4 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes