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

Rotating a phone in landscape remains a black bar like the wreckage of the navigation bar

    XMLWordPrintable

Details

    • Android
    • 2022wk32FOQtforAndroid, 2022wk34FOQtforAndroid, 2022wk36FOQtforAndroid, 2022wk38FOQtforAndroid, 2022wk40FOQtforAndroid, 2022wk42FOQtforAndroid, 2022wk44FOQtforAndroid, 2022wk46FOQtforAndroid, 2022wk48FOQtforAndroid, 2022wk50FOQtforAndroid, 2022wk52FOQtforAndroid

    Description

      Starting an app with normal landscape mode shows the app correctly.
      However, when rotating the phone up-side-down, there's a black bar that hides a part of application.
      See screenshots as a reference.

      Normal

      Up-side-down (Black bar appears)

      The problem can be easily reproduced by using empty widget app and set

      android:screenOrientation="userLandscape"
      

      in AndroidManifest.xml.

      Sample code : qtbug89672.zip

      Attachments

        1. rotation_layout_positions.png
          838 kB
          Tapio Oksa
        2. qtbug89672-Normal.png
          17 kB
          Nahomi Gröhn
        3. qtbug89672-BlackLine.png
          17 kB
          Nahomi Gröhn
        4. qtbug89672.zip
          58 kB
          Nahomi Gröhn
        5. non_full_screen_rotating_app_api_30.mp4
          366 kB
          Piotr Mikolajczyk
        6. non_full_screen_rotating_app_api_30_with_patch.mp4
          376 kB
          Piotr Mikolajczyk
        7. non_full_screen_rotating_app_api_24.mp4
          361 kB
          Piotr Mikolajczyk
        8. image-2022-09-08-17-47-41-729.png
          234 kB
          Rami Potinkara
        9. image-2022-09-08-17-46-21-442.png
          247 kB
          Rami Potinkara
        10. fullscreen_with_nav_bars.jpg
          47 kB
          Assam Boudjelthia
        11. fullscreen_no_nav_bars.jpg
          29 kB
          Assam Boudjelthia
        12. full_screen_rotating_app_api_30.mp4
          306 kB
          Piotr Mikolajczyk
        13. full_screen_rotating_app_api_24.mp4
          423 kB
          Piotr Mikolajczyk
        14. bug with rotation - inactive-active.mp4
          743 kB
          Piotr Mikolajczyk
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qtandroidteam Qt Android Team
            nagrohn Nahomi Gröhn (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes