Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.1.0
Description
Run the following code:
import QtQuick 2.0 Rectangle { id: topLevel color: "#b0b0b0" Text { id: t text: "Qt 5 on Android" anchors.top: parent.top anchors.horizontalCenter: parent.horizontalCenter font.pixelSize: parent.height / 15 } Rectangle { anchors.top: t.bottom anchors.topMargin: 10 anchors.left: parent.left anchors.leftMargin: 10 anchors.rightMargin: 10 anchors.right: parent.right height: parent.height / 10 border.color: "black" border.width: 2 color: "white" TextInput { anchors.fill: parent font.pixelSize: height - 20 color: "black" } } }
1. Click on the text input to give it keyboard focus.
2. Type some text.
3. Hit the enter-button on the virtual keyboard.
Nothing happens. I would expect this to either produce a key event in QML or close the virtual keyboard.