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

Activity does not fill the screen on Android

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.9.1
    • 5.9.0 Beta 4
    • Extras: Android
    • None
    • Android devices with on-screen navigation bars.
    • b684ed6bd7ae459fe9df24c4da23b25bb199bed6

    Description

      See the attached app and the screenshot.

      While using immersive/full screen layout on Android the activity does not fill the entire screen. (See com.resizeerrorapp.example.MyActivity) It used to work well with previous Qt versions.

      At the bottom a white rectangle is visible. Adding android:theme="@android:style/Theme.NoTitleBar.Fullscreen" to the Android manifest changes the rectangle color from white to black.

      After rotating the device, the problem disappears.

      Might be related to QTBUG-60341, except the white rectangle appears in place of the navigation bar (not the status bar).

      Attachments

        1. 2017-06-16 17.06.57.jpg
          2017-06-16 17.06.57.jpg
          86 kB
        2. 2017-06-16 17.07.57.jpg
          2017-06-16 17.07.57.jpg
          196 kB
        3. ResizeErrorApp.zip
          64 kB
        4. screenResizeError.png
          screenResizeError.png
          34 kB
        For Gerrit Dashboard: QTBUG-60963
        # Subject Branch Project Status CR V

        Activity

          People

            stromme Christian
            balazs Zsombori Balázs
            Votes:
            3 Vote for this issue
            Watchers:
            11 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes