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

Android: Qt.inputMethod.keyboardRectangle always returns 0x0 size

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 5.6.0
    • 5.3.1
    • None
    • Android 4.4.2
    • Android

      Qt.inputMethod.keyboardRectangle does not work on Android making it impossible to make application to adapt to different sizes when keyboard is shown. Application does resize or be moved so that input usually is visible, but there is no way to know visible size of the window.

      This could have been workaround when dealing with QTBUG-40728 but it seems that QAndroidInputContext::keyboardRect() does only return default value (0,0)

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

            ogoffart Olivier Goffart (Woboq GmbH)
            poikelin Joni Poikelin
            Votes:
            3 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes