Details
-
Bug
-
Resolution: Duplicate
-
P2: Important
-
None
-
5.15.11, 6.2.6, 6.4.1
-
Windows 10 Pro 21H2
Description
import QtQuick 2.15 import QtQuick.Controls 2.15 import QtQuick.Window 2.15 Window { width: 640 height: 480 visible: true color: "lightgrey" TextField { inputMethodHints: Qt.ImhFormattedNumbersOnly } }
Run this code on a machine in touchscreen mode.
- Expected outcome: A numpad keyboard should appear.
- Actual outcome: A QWERTY keyboard appears.
Notes
- Android produces a numpad keyboard by default, but Windows 10 does not
- Widgets also behave the same (tested with QLineEdit with lineEdit.setInputMethodHints(Qt::ImhFormattedNumbersOnly) )
- Same results when using Qt.ImhDigitsOnly
Attachments
Issue Links
- duplicates
-
QTBUG-98294 Windows soft keyboard (tabtip.exe) doesn't switch to numpad on numeric input fields
- Closed