Reviewing merge request #1297: 274320 - Text area selection disappears when swiping away from QML components gallery
The textarea forgot its state during window focus loss. Apparently this was implemented intentionally for the case where there are different TextAreas in one single window and where you wouldn't want to have both selected at once.
For the case of a window focus change we preserve the selection state with this fix. To be extra careful about compatibility with prior versions of Qt Components we introduce a property that remembers and restores the prior state of the TextEdit.persistentSelection property.
Commits that would be merged:
- e87d832
- 2c08bf4
Fixes: NB#274320 - Text area selection disappears when swiping away from
e87d832-2c08bf4Comments
Pushed new version 1
Tested OK. Works OK with TextArea.
Selected text in QCG TextArea remains selected and editbubble appears when the application is minimised and then maximised.
balajic: what do you think about the TextField – is the current behavior alright or shall I adjust it accordingly?
Better to have same implementation for the TextField, this should be the case in libmeegotouch.
If needed separate issue can be reported for the TextFIeld.
MR Merged with the Master


Add a new comment:
Login or create an account to post a comment