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

[Reg 5.15.10 -> 5.15.11] Incorrect fullscreen dimensions on some Android devices

    XMLWordPrintable

Details

    • Android
    • 89725106e (6.4), e3e40c44d (6.4.2), ed57b521d (tqtc/lts-5.15), 48ebd4e31 (dev), 9b8777d49 (6.4), 50185ff90 (tqtc/lts-6.2), 652652f3c (6.5), ecaa0f1ac (tqtc/lts-5.15)
    • 2022wk42FOQtforAndroid, 2023wk02FOQtforAndroid, 2022wk44FOQtforAndroid, 2022wk46FOQtforAndroid, 2022wk48FOQtforAndroid, 2022wk50FOQtforAndroid, 2023wk04FOQtforAndroid, 2023wk06FOQtforAndroid

    Description

      Steps to reproduce

      1. Set up a Pixel 2 Android emulator in Android Studio
      2. Build and deploy the attached project to Pixel 2 using Qt 5.15.10
      3. Build and deploy the attached project to Pixel 2 using Qt 5.15.11

       

      Outcomes

      Step #2: Application fits the screen correctly. Reported dimensions are 411x659 (see Pixel2_Qt5_15_10.png)

      Step #3: Application does not fit the screen; the bottom buttons are cut off. Reported dimensions are 411x683 (see Pixel2_Qt5_15_10.png)

       

      Notes

      • This issue is not reproducible on all devices. For example, Pixel 4 seems unaffected (see Pixel4_Qt5_15_11.png).
      • This issue seems similar to but seems different from QTBUG-107523, which does affect Pixel 4. This example project does not set window.setDecorFitsSystemWindows(false), but rather it uses QQuickView + QQuickView::SizeRootObjectToView.

      Attachments

        1. 1+7tandroid11_qt51512.png
          1+7tandroid11_qt51512.png
          62 kB
        2. Expected_behavior.png
          Expected_behavior.png
          44 kB
        3. huaweihonor7android7_qt51512.png
          huaweihonor7android7_qt51512.png
          64 kB
        4. HuaweiMate20Pro.jpg
          HuaweiMate20Pro.jpg
          88 kB
        5. huaweip40liteandroid10_qt51512_gestures.png
          huaweip40liteandroid10_qt51512_gestures.png
          63 kB
        6. huaweip40liteandroid10_qt51512.png
          huaweip40liteandroid10_qt51512.png
          67 kB
        7. Pixel_2_screenshots.png
          Pixel_2_screenshots.png
          157 kB
        8. Pixel2_Qt5_15_10.png
          Pixel2_Qt5_15_10.png
          48 kB
        9. Pixel2_Qt5_15_11.png
          Pixel2_Qt5_15_11.png
          51 kB
        10. pixel2.png
          pixel2.png
          260 kB
        11. Pixel4_Qt5_15_11.png
          Pixel4_Qt5_15_11.png
          59 kB
        12. Qt5_15_11_latest_patch.mp4
          149 kB
        13. Qt5_15_11_latest_patch.png
          Qt5_15_11_latest_patch.png
          37 kB
        14. Qt5_15_11_without_latest_patch.png
          Qt5_15_11_without_latest_patch.png
          46 kB
        15. Qt5_15_6.mp4
          297 kB
        16. QtAndroidTest.zip
          172 kB
        17. qtbug.zip
          16 kB
        18. qtbug107604.diff
          3 kB
        19. qtbug107604.zip
          2 kB
        20. QTBUG-107604.zip
          136 kB
        21. ScalingTest.PNG
          ScalingTest.PNG
          54 kB
        22. Screenshot 2022-11-10 at 15.32.15.png
          Screenshot 2022-11-10 at 15.32.15.png
          549 kB

        Issue Links

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

          Activity

            People

              samuelmira Samuel Mira
              skoh-qt Sze Howe Koh
              Votes:
              9 Vote for this issue
              Watchers:
              17 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: