I believe there's two potential solutions to this mismatch: 1) TextArea defines the default 2) We document the default as being dependent on the Qt version (the effective value unfortunately isn't computed by qmake)
To me the first option seems more predictable. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in Ubuntu. https://bugs.launchpad.net/bugs/1594400 Title: Wrong statement about "persistentSelection" property of TextArea Status in ubuntu-ui-toolkit package in Ubuntu: Confirmed Bug description: 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 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1594400/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp

