Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.2.4
-
None
-
Windows 11 build 22000.1219
Windows 10 build 19044.2251
QT 6.2.4
Description
Qt is supporting native virtual keyboard when touching QLineEdit widget using a touch screen.
It works well when no native child windows were created (e.g. no call to QWidget::winId(), not using WA_NativeWindow etc). So only if the top-window has a native window then the native virtual keyboard will open well when touching the QLineEdit control.
But if calling to winId() on one of the child widgets which creates a native child-window, or if setting the attribute Qt::AA_NativeWindows on startup - then the native keyboard is not showing when touching the edit widget.
Tried to debug QWindowsInputContext::showInputPanel() and looks like it calls the correct Windows APIs as expected (ImmAssociateContextEx) but still the virtual keyboard is not showing.
Maybe it is related to this? https://codereview.qt-project.org/c/qt/qtbase/+/232927