Comment 0 for bug 1166840

Revision history for this message
Ugo Riboni (uriboni) wrote :

In the test code below, focus the TextArea and type Enter (or press Enter on the OSK on the phone).
It should insert a new line in the text, instead it produces this error:
file:///usr/lib/i386-linux-gnu/qt5/qml/Ubuntu/Components/AbstractButton.qml:41:

The test case is below:

import QtQuick 2.0
import Ubuntu.Components 0.1
import Ubuntu.Components.ListItems 0.1 as ListItem

Item {
    height: 800
    width: 400

    ListItem.Empty {
        height: 200
        anchors.left: parent.left
        anchors.right: parent.right

        TextArea {
            anchors.fill: parent
        }
    }
}