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
          62 kB
          Rami Potinkara
        2. Expected_behavior.png
          44 kB
          Andy Shaw
        3. huaweihonor7android7_qt51512.png
          64 kB
          Rami Potinkara
        4. HuaweiMate20Pro.jpg
          88 kB
          shobana
        5. huaweip40liteandroid10_qt51512_gestures.png
          63 kB
          Rami Potinkara
        6. huaweip40liteandroid10_qt51512.png
          67 kB
          Rami Potinkara
        7. Pixel_2_screenshots.png
          157 kB
          shobana
        8. Pixel2_Qt5_15_10.png
          48 kB
          Sze Howe Koh
        9. Pixel2_Qt5_15_11.png
          51 kB
          Sze Howe Koh
        10. pixel2.png
          260 kB
          Samuel Mira
        11. Pixel4_Qt5_15_11.png
          59 kB
          Sze Howe Koh
        12. Qt5_15_11_latest_patch.mp4
          149 kB
          Andy Shaw
        13. Qt5_15_11_latest_patch.png
          37 kB
          Andy Shaw
        14. Qt5_15_11_without_latest_patch.png
          46 kB
          Andy Shaw
        15. Qt5_15_6.mp4
          297 kB
          Andy Shaw
        16. QtAndroidTest.zip
          172 kB
          Yordan.Bonev
        17. qtbug.zip
          16 kB
          Prabhav Mehra
        18. qtbug107604.diff
          3 kB
          Andy Shaw
        19. qtbug107604.zip
          2 kB
          Sze Howe Koh
        20. QTBUG-107604.zip
          136 kB
          Prabhav Mehra
        21. ScalingTest.PNG
          54 kB
          shobana
        22. Screenshot 2022-11-10 at 15.32.15.png
          549 kB
          Samuel Mira

        Issue Links

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

          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: