Cannot set initial state of TabBar using selectionMode
Bug #1250194 reported by
Tim Peeters
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu UI Toolkit |
Fix Released
|
High
|
Tim Peeters | ||
ubuntu-ui-toolkit (Ubuntu) |
Fix Released
|
Undecided
|
Tim Peeters |
Bug Description
Setting initial value of TabBar.
TabBar has this code:
/*!
An inactive tab bar only displays the currently selected tab,
and an active tab bar can be interacted with to select a tab.
*/
property bool selectionMode: false
/*!
When all components are completed, enable selection mode
*/
Component.
}
The solution looks easy: remove the onCompleted, and set the default value to true. However, that does not work because the initialization of the TabBar goes wrong then. More investigation is needed.
Related branches
lp://staging/~tpeeters/ubuntu-ui-toolkit/tabBar-selectionMode-fix
- PS Jenkins bot: Approve (continuous-integration)
- Tim Peeters: Approve
-
Diff: 83 lines (+7/-18)3 files modifiedmodules/Ubuntu/Components/TabBar.qml (+1/-8)
modules/Ubuntu/Components/Themes/Ambiance/TabBarStyle.qml (+5/-9)
tests/resources/navigation/SimpleTabs.qml (+1/-1)
tags: | added: tabs |
Changed in ubuntu-ui-toolkit: | |
importance: | Undecided → High |
Changed in ubuntu-ui-toolkit: | |
status: | New → Confirmed |
assignee: | nobody → Tim Peeters (tpeeters) |
Changed in ubuntu-ui-toolkit: | |
status: | Confirmed → In Progress |
tags: | added: qa-touch |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
assignee: | nobody → Tim Peeters (tpeeters) |
Changed in ubuntu-ui-toolkit: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fix committed into lp:ubuntu-ui-toolkit at revision 856, scheduled for release in ubuntu-ui-toolkit, milestone Unknown