Fix property naming for OptionSelector/ItemSelector
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu UI Toolkit |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
OptionSelector and ItemSelector have these two properties:
/*!
\preliminary
Specifies whether the list is always expanded.
*/
property bool expanded: false
/*!
\qmlproperty bool expanded
Is our list currently expanded?
*/
readonly property alias currentlyExpanded: listContainer.
The name "expanded" is not clear, "alwaysExpanded" would be better. "currentlyExpanded" should be named "expanded" (we don't use the currently- prefix anywhere else).
I propose to rename "expanded" to "alwaysExpanded" (keep expanded as deprecated for a while), and once the old deprecated "expanded" has been removed, "currentlyExpanded" can be deprecated in favor of a new "expanded".
Changed in ubuntu-ui-toolkit: | |
status: | New → Won't Fix |