We have moved to a new Sailfish OS Forum. Please start new discussions there.

Revision history [back]

click to hide/show revision 1
initial version

posted 2014-01-03 14:04:02 +0200

Bug: can't select text from Silica TextField if it's readonly

Seems that text selection doesn't work when a TextField is readonly.
I have the following code:

TextInput {
    text: "hello world"
    readOnly: true
    background: Item {
        anchors.fill: parent
    }
}

And long-pressing the text doesn't do anything at all. As soon as I set readOnly to false it starts working.

Bug: can't select text from Silica TextField if it's readonly

Seems that text selection doesn't work when a TextField is readonly.
I have the following code:

TextInput TextField {
    text: "hello world"
    readOnly: true
    background: Item {
        anchors.fill: parent
    }
}

And long-pressing the text doesn't do anything at all. As soon as I set readOnly to false it starts working.