Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.4.1
-
None
Description
For code below expected behavior that when cursor on position "N",
then input of any letter cause override of N, with overwriteMode=true,
and with overwriteMode=false, because of mask allow only one letter: "X 09°99'99\"".
And this works fine on Linux/X11, macOS and iOS.
But broken for some reason on Android.
More specifically on Pixel 3a XL / Android 12.
See screenshots. At the same time on Galaxy Tab A8 / Android 11 all works fine,
and letter input overwrite first character.
I used Qt 6.4.1 Clang arm64-v8a installed on Linux via qt online installer.
import QtQuick 2.15 import QtQuick.Window 2.15 import QtQuick.Layouts 1.15 import QtQuick.Controls 2.15 Window { id: window width: 640 height: 480 visible: true title: qsTr("Hello World") Component.onCompleted: { latitude.text = "N 40°18'99\"" } RowLayout { anchors.fill: parent Text { text: "Latitude: " } TextInput { id: latitude Layout.fillWidth: true overwriteMode: true inputMask: "X 09°99'99\"" } } }