Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.6.0 Beta
-
None
-
Android 4.4
Description
Either I use Qt::AA_EnableHighDpiScaling or not, keyboardRectangle is the same. On my Android phone in portrait mode it is QRectF(0, 706, 720, 524). devicePixelRatio for my phone screen is 2. The cursorRectangle seems updated properly.
Workaround is to divide by devicePixelRatio, for example in QML:
Qt.inputMethod.keyboardRectangle.height / Screen.devicePixelRatio