Alarm documentation needs more elaboration on save() and cancel() operations
Bug #1226516 reported by
Nekhelesh Ramananthan
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu UI Toolkit |
Fix Released
|
High
|
Zsombor Egri | ||
ubuntu-ui-toolkit (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Alarm operations such as save() and cancel() are asynchronous meaning once they are called, they run in the background. So any furtur operation done on the Alarm object should wait until those operations are done. This is not evident looking at the alarms documentation and could result in code which does work as expected.
Related branches
lp:~zsombi/ubuntu-ui-toolkit/alarm-status
- PS Jenkins bot: Approve (continuous-integration)
- Cris Dywan: Approve
-
Diff: 440 lines (+136/-35)10 files modifiedcomponents.api (+4/-0)
modules/Ubuntu/Components/plugin/adapters/alarmsadapter_organizer.cpp (+32/-14)
modules/Ubuntu/Components/plugin/adapters/alarmsadapter_p.h (+1/-0)
modules/Ubuntu/Components/plugin/alarmrequest_p.cpp (+2/-2)
modules/Ubuntu/Components/plugin/alarmrequest_p.h (+7/-1)
modules/Ubuntu/Components/plugin/alarmrequest_p_p.h (+1/-1)
modules/Ubuntu/Components/plugin/ucalarm.cpp (+72/-12)
modules/Ubuntu/Components/plugin/ucalarm.h (+10/-3)
modules/Ubuntu/Components/plugin/ucalarm_p.h (+1/-1)
tests/resources/alarm/Alarms.qml (+6/-1)
Changed in ubuntu-ui-toolkit: | |
assignee: | nobody → Zsombor Egri (zsombi) |
status: | New → Confirmed |
importance: | Undecided → High |
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 763, scheduled for release in ubuntu-ui-toolkit, milestone Unknown