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

Bug: Can't select text in QML TextInput

asked 2014-01-03 14:07:15 +0300

Venemo gravatar image

If I use a standard QML TextInput element, text selection doesn't work as it does with the TextField element: nothing happens when I long-press text inside the TextInput.

edit retag flag offensive close delete

2 Answers

Sort by » oldest newest most voted
0

answered 2014-01-03 14:16:43 +0300

Robin Burchell _ w00t gravatar image

Thanks for the report. We're aware of it now :)

edit flag offensive delete publish link more
0

answered 2014-01-03 14:40:49 +0300

jpnurmi gravatar image

What you essentially want to do is to show selectable read-only text, right?

Qt components for MeeGo/Harmattan solved this problem by adding optional text selection functionality to Label. It creates the selection handles (and a TextInput instance) on the fly when appropriate. Perhaps the same approach could be used for the Silica Label?

edit flag offensive delete publish link more

Comments

No. Selection doesn't work for the TextInput even when it's not read only.

Venemo ( 2014-01-03 22:01:29 +0300 )edit
Login/Signup to Answer

Question tools

Follow
1 follower

Stats

Asked: 2014-01-03 14:07:15 +0300

Seen: 1,779 times

Last updated: Jan 03 '14