Public bug reported:
In the documentation for UITK TextArea[1]:
"Whether the TextArea should keep the selection visible when it loses
active focus to another item in the scene. By default this is set to true;"
In the documentation for QML TextEdit component (inherited by UITK TextArea):
"Whether the TextEdit should keep the selection visible when it loses
active focus to another item in the scene. By default this is set to false."
The component from UITK[3] only set an alias to the TextEdit property,
without changing its default value. This leads to an unexpected
behaviour whenever the default property is set to a different value by
the upstream project.
In Qt 5.0.2 the property was set to true[4]. Since Qt 5.1.1, the value
has been changed[5].
====
[1]
https://developer.ubuntu.com/api/apps/qml/sdk-15.04.4/Ubuntu.Components.TextArea/
[2] http://doc.qt.io/qt-5/qml-qtquick-textedit.html#persistentSelection-prop
[3] http://bazaar.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-
toolkit/staging/view/head:/src/Ubuntu/Components/1.3/TextArea.qml
[4]
http://qt.apidoc.info/5.0.2/qtquick/qml-qtquick2-textedit.html#persistentSelection-prop
[5]
http://qt.apidoc.info/5.1.1/qtquick/qml-qtquick2-textedit.html#persistentSelection-prop
** Affects: ubuntu-ui-toolkit (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1594400
Title:
Wrong statement about "persistentSelection" property of TextArea
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1594400/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs