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

Wrong calculation of display area on android when virtual keyboard is present before opening the app

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2: Important P2: Important
    • 5.15.13, 6.2.8, 6.5.0
    • 6.3.2, 6.4.1, 6.4.2, 6.5.0 Beta1
    • QPA: Android
    • None
    • Google Pixel 6, Android 13
    • Android
    • 48ebd4e31 (dev), 9b8777d49 (6.4), 50185ff90 (tqtc/lts-6.2), 652652f3c (6.5), ecaa0f1ac (tqtc/lts-5.15)
    • 2023wk04FOQtforAndroid, 2023wk06FOQtforAndroid

      Android 13 has an App browser with search function. When the browser starts, the search field is in focus and the keyboard open. It disappears once you scroll down. It's still possible to open apps before the keyboard disappears, and in this case, Qt Quick apps use only half of the screen (roughly). The correct screen size is restored when rotating the screen to landscape and back.

      When testing, make sure to close the app. It works correctly if the app is only suspended.

      I've tested it on the versions mentioned above and on 6.6 snapshot available in the maintenance tool.

      It does work on Qt 5.15.2, and Qt 6.3.2

      It also works on my old Nokia 8 (Android 9).

      Related issues are (but I don't think they are the same, hence posting a new one):

      QTBUG-107604
      QTBUG-107923
      QTBUG-109268

        1. app_browser.png
          app_browser.png
          433 kB
        2. app_correct_sizing.png
          app_correct_sizing.png
          173 kB
        3. app_wrong_sizing.png
          app_wrong_sizing.png
          173 kB
        For Gerrit Dashboard: QTBUG-110501
        # Subject Branch Project Status CR V

            qtandroidteam Qt Android Team
            adamce Adam
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes