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

Android soft keyboard no longer pans the screen

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: In Progress
    • Priority: P1: Critical
    • Resolution: Unresolved
    • Affects Version/s: 5.15.5, 6.2
    • Fix Version/s: 5.15.9
    • Component/s: Extras: Android
    • Labels:
      None
    • Platform/s:
      Android
    • Sprint:
      2021wk36POAndroid&Mobile, 2021wk38POAndroid&Mobile, 2021wk40POAndroid&Mobile, 2021wk42POAndroid&Mobile, 2021wk44POAndroid&Mobile, 2021wk46POAndroid&Mobile, 2021wk48POAndroid&Mobile, 2022wk02FOAndroid&Automotive, 2022wk04FOAndroid&Automotive, 2022wk06FOAndroid&Automotive, 2022wk08FOAndroid&Automotive, 2022wk10FOAndroid&Automotive, 2022wk28FOQtforAndroid, 2022wk30FOQtforAndroid, 2022wk32FOQtforAndroid, 2022wk34FOQtforAndroid, 2022wk36FOQtforAndroid, 2022wk38FOQtforAndroid, 2022wk40FOQtforAndroid, 2022wk42FOQtforAndroid, 2022wk44FOQtforAndroid, 2022wk46FOQtforAndroid, 2022wk48FOQtforAndroid

      Description

      When building an Android app with QML, the soft keyboard no longer pans the screen when it overlaps the selected input. I've tried setting windowSoftInputMode to adjustResize and adjustPan on the main activity in the Android manifest without any effect. This still works in 5.12.11. I haven't been able to get anything to work on Android with 6 yet, so untested there. It happens on both real devices and emulators. I've attached the QML for a minimal reproduction as well as screenshots demonstrating old (desired) functionality vs. undesired.

        Attachments

        1. 5.12.11.jpg
          5.12.11.jpg
          24 kB
        2. 5.15.5.jpg
          5.15.5.jpg
          17 kB
        3. main.qml
          0.4 kB
        4. QTBUG-91073-reverted.mp4
          1.42 MB
        5. qtbug-96117-1+7t.mp4
          1.85 MB
        6. revert_in_515-7.mp4
          2.02 MB
        7. revert_in_62.mp4
          1.43 MB
        8. revert_in_dev.mp4
          2.07 MB

          Issue Links

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

            Activity

              People

              Assignee:
              rampe Rami Potinkara
              Reporter:
              j.craig Jason Craig
              Votes:
              11 Vote for this issue
              Watchers:
              17 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes