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

Wrong height of the window on Android

    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)
    • 2023wk02FOQtforAndroid, 2022wk44FOQtforAndroid, 2022wk46FOQtforAndroid, 2022wk48FOQtforAndroid, 2022wk50FOQtforAndroid, 2022wk52FOQtforAndroid, 2023wk04FOQtforAndroid, 2023wk06FOQtforAndroid

    Description

      It seems that the height of the main window calculation does not take into account the navigation bar.
      The following code, gives the result visible in the attachment.

      import QtQuick
      Window {
          visible: true
          title: qsTr("Hello World")
      
          Rectangle {
              anchors.fill: parent
              border.color: "red"
              border.width: 2
              color: "transparent"
          }
      
          Rectangle {
              anchors.fill: parent
              anchors.margins: 24
              border.color: "blue"
              border.width: 1
              color: "transparent"
          }
      }
      

      Please notice the red border going out of the screen.

      Attachments

        1. 2022-11-24 13-02-28.mkv
          6.30 MB
          Deldycke Quentin
        2. emuPixel3aXLAnd10-QTBUG107923-Qt515-patch455920ver6-descriptionQML-quentin-rotation.mp4
          950 kB
          Rami Potinkara
        3. GooglePixel4_Android9_Qt5.15.12.png
          297 kB
          Sze Howe Koh
        4. HuaweiPSmart2019_Android9_Qt5.15.12.jpg
          92 kB
          Sze Howe Koh
        5. huhop30proand10-QTBUG107923-Qt515-patch455920ver6-descriptionQML-quentin-landscape270deg.png
          27 kB
          Rami Potinkara
        6. huhop30proand10-QTBUG107923-Qt515-patch455920ver6-descriptionQML-quentin-portrait1.png
          28 kB
          Rami Potinkara
        7. image-2022-10-25-11-43-38-724.png
          54 kB
          Piotr Mikolajczyk
        8. image-2022-11-15-14-17-40-996.png
          14 kB
          Renata Cylejowska
        9. image-2022-11-15-14-17-45-475.png
          19 kB
          Renata Cylejowska
        10. image-2022-11-15-14-17-51-522.png
          27 kB
          Renata Cylejowska
        11. image-2022-11-15-14-17-56-118.png
          21 kB
          Renata Cylejowska
        12. image-2022-11-15-14-19-39-214.png
          13 kB
          Renata Cylejowska
        13. image-2022-11-15-14-19-44-946.png
          16 kB
          Renata Cylejowska
        14. image-2022-11-23-15-58-13-311.png
          20 kB
          Deldycke Quentin
        15. image-2022-11-23-15-58-28-823.png
          19 kB
          Deldycke Quentin
        16. image-2022-12-08-10-32-11-855.png
          40 kB
          Tomas Mizera
        17. image-2023-01-09-13-14-07-607.png
          66 kB
          Tomas Mizera
        18. iphone_XR_iOS_5_15_12.png
          571 kB
          Ekkehard
        19. LG V60 Android 12 Qt5.15.2.png
          204 kB
          Niels Mayer
        20. LG V60 Android 12 Qt6.4.0.png
          175 kB
          Niels Mayer
        21. LG V60 Android 12 Qt6.4.1.png
          211 kB
          Niels Mayer
        22. LG V60 Android 12 Qt6.4.2.png
          214 kB
          Niels Mayer
        23. LG V60 Android 12 Qt6.5.0.png
          213 kB
          Niels Mayer
        24. LG V60 Android 12 Qt6.6.0.png
          213 kB
          Niels Mayer
        25. LGv60-Qt5152.png
          179 kB
          Niels Mayer
        26. LGv60-Qt640.png
          157 kB
          Niels Mayer
        27. LGv60-Qt641.png
          190 kB
          Niels Mayer
        28. LGv60-Qt642.png
          194 kB
          Niels Mayer
        29. LGv60-Qt650beta1.png
          193 kB
          Niels Mayer
        30. LGv60-Qt660dev.png
          193 kB
          Niels Mayer
        31. macOS_5_15_12.png
          494 kB
          Ekkehard
        32. motorola_a9_5_15_12.png
          276 kB
          Ekkehard
        33. motorola_a9_5_15_7.png
          282 kB
          Ekkehard
        34. nophand12-QTBUG107923-Qt51511vs515patchv4.png
          158 kB
          Rami Potinkara
        35. pixel_6a_a13_5_15_12.png
          292 kB
          Ekkehard
        36. qqc2materialstyle.tgz
          2 kB
          Niels Mayer
        37. qt51512+patch-qtws19.png
          305 kB
          Rami Potinkara
        38. qt51512+patch-qtws19-gestures.png
          302 kB
          Rami Potinkara
        39. qt5159+patch-qtws19.png
          109 kB
          Rami Potinkara
        40. qt5159qtws19.png
          312 kB
          Rami Potinkara
        41. qt-6.4-android-fullscreen-issue.png
          334 kB
          Andrew Forrest
        42. QTBUG-96877-patch1-and-QTBUG-107923-patch5-1p7tAndr11.mp4
          2.31 MB
          Rami Potinkara
        43. QTBUG-96877-patch1-and-QTBUG-107923-patch5-HP40LiteAndr10.png
          37 kB
          Rami Potinkara
        44. ResizingTest.zip
          17 kB
          Michael Heiser
        45. Screenshot_20230118-075840.png
          199 kB
          Michael Heiser
        46. Screenshot_20230118-080015[1].png
          194 kB
          Michael Heiser
        47. Screenshot 2023-01-26 at 13.59.16.png
          193 kB
          Samuel Mira
        48. Screenshot 2023-01-26 at 13.59.52.png
          242 kB
          Samuel Mira
        49. xiaomi_mi_lite_a10_5_15_12.png
          295 kB
          Ekkehard
        50. ZebraTC21_Android10_Qt5.15.12.png
          31 kB
          Sze Howe Koh

        Issue Links

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

          Activity

            People

              rampe Rami Potinkara
              piotrmi Piotr Mikolajczyk
              Votes:
              11 Vote for this issue
              Watchers:
              22 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes