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. bug with rotation - inactive-active.mp4
          743 kB
          Piotr Mikolajczyk
        2. full_screen_rotating_app_api_24.mp4
          423 kB
          Piotr Mikolajczyk
        3. full_screen_rotating_app_api_30.mp4
          306 kB
          Piotr Mikolajczyk
        4. fullscreen_no_nav_bars.jpg
          29 kB
          Assam Boudjelthia
        5. fullscreen_with_nav_bars.jpg
          47 kB
          Assam Boudjelthia
        6. image-2022-09-08-17-46-21-442.png
          247 kB
          Rami Potinkara
        7. image-2022-09-08-17-47-41-729.png
          234 kB
          Rami Potinkara
        8. non_full_screen_rotating_app_api_24.mp4
          361 kB
          Piotr Mikolajczyk
        9. non_full_screen_rotating_app_api_30_with_patch.mp4
          376 kB
          Piotr Mikolajczyk
        10. non_full_screen_rotating_app_api_30.mp4
          366 kB
          Piotr Mikolajczyk
        11. qtbug89672.zip
          58 kB
          Nahomi Gröhn
        12. qtbug89672-BlackLine.png
          17 kB
          Nahomi Gröhn
        13. qtbug89672-Normal.png
          17 kB
          Nahomi Gröhn
        14. rotation_layout_positions.png
          838 kB
          Tapio Oksa
        For Gerrit Dashboard: QTBUG-89672
        # Subject Branch Project Status CR V

        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