Selecting the same option again in an OptionSelector results in that option being hidden
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Clock App |
Fix Released
|
Medium
|
Unassigned | ||
Ubuntu UI Toolkit |
Fix Released
|
High
|
Nicolas d'Offay |
Bug Description
Steps to reproduce:
1. Navigate to the Alarms Tab and press Add Alarm.
2. In the "Occurs" optionselector, select the same day shown again.
What happens:
The day disappears
What should happen:
The day appears as the selected option
----- Way to reproduce this in the SDK (general code) ----------
Steps to reproduce:
1. Open the SDK gallery project in qtcreator via Tools -> Ubuntu Touch -> Ubuntu Touch Showcase Gallery.
2. Open OptionSelectors.qml file
3. Change the first option selector code as shown below,
OptionSelector {
}
4. Now run the gallery, and choose the index: 1 again. Notice that it disappears.
The only additional code which was added above was selectedIndex: 1 which results in this bug appearing.
---- Additonal Information ---
Ubuntu: Saucy Salamander (with SDK ppa enabled)
UI Toolkit version: rev 801
This bug occurred even before https:/
Related branches
- PS Jenkins bot: Approve (continuous-integration)
- Tim Peeters: Approve
-
Diff: 111 lines (+15/-9)4 files modifiedCHANGES (+2/-0)
components.api (+2/-2)
modules/Ubuntu/Components/ListItems/ItemSelector.qml (+6/-4)
modules/Ubuntu/Components/OptionSelector.qml (+5/-3)
Changed in ubuntu-clock-app: | |
status: | Triaged → In Progress |
Changed in ubuntu-clock-app: | |
assignee: | nobody → Nekhelesh Ramananthan (nik90) |
description: | updated |
description: | updated |
Changed in ubuntu-ui-toolkit: | |
assignee: | nobody → Nicolas d'Offay (nicolas-doffay) |
Changed in ubuntu-clock-app: | |
milestone: | backlog → 14.04-month-1 |
Changed in ubuntu-ui-toolkit: | |
status: | Confirmed → Fix Committed |
Changed in ubuntu-ui-toolkit: | |
status: | Confirmed → In Progress |
Changed in ubuntu-ui-toolkit: | |
importance: | Undecided → High |
Changed in ubuntu-ui-toolkit: | |
status: | Fix Committed → Fix Released |
Changed in ubuntu-clock-app: | |
status: | Confirmed → Fix Committed |
Changed in ubuntu-clock-app: | |
status: | Fix Committed → Fix Released |
Turns out this is an upstream bug since I can reproduce this in the UITK gallery code as well.