Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.7.2, 6.8.0
-
-
2024wk38s2FOQtforAndroid, 2024wk48s3FOQtforAndroid
Description
Reproducer attached. By default, it is a QLineEdit being positioned at the bottom of window. One can also replace it with QTextEdit, etc., and the issues are the same. One can built it with 6.5.6 and 6.7.2 to see the problem.
Good behavior (6.5.6):
1. Upon clicking QLineEdit so that it is focused, only digit keyboard pops up. Because "Qt::ImhDigitsOnly" says so.
2. The entire window is shifted upward a little bit (I can tell by putting a QLabel on top edge of window), so that QLineEdit is not covered.
Bad behavior (6.7.2):
1. Upon clicking QLineEdit, it is still full keyboard.
2. No shift happens and QLineEdit is completed covered. One can't see what's being input.
Update: not a QWidget issue but a more generic input method/platform integration issue on Android. QML text input components are also affected. A separate bug report for QML issue is created:
https://bugreports.qt.io/browse/QTBUG-128378
Attachments
Issue Links
- relates to
-
QTBUG-128378 [Reg 6.5.6->6.7.2] QML text input, e.g. TextInput, does not integrate well with Android system built-in keyboard
- Reported
-
QTBUG-125854 [REG: 5->6] android: Virtual keyboard immediately reappears if accepted
- Open
- mentioned in
-
Page Loading...