Ask / Submit
0

Bug: Can't select text in QML TextInput

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

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 +0200

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 +0200

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 +0200 )edit
Login/Signup to Answer

Question tools

Follow
1 follower

Stats

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

Seen: 1,286 times

Last updated: Jan 03 '14