[Performance] Alarm Model is reloaded after creating/deleting an alarm instead of just appending to it causing unnecessary listview repaint
Bug #1360359 reported by
Nekhelesh Ramananthan
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-ui-toolkit (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Vivid |
New
|
Undecided
|
Unassigned | ||
ubuntu-ui-toolkit (Ubuntu RTM) |
New
|
Undecided
|
Unassigned |
Bug Description
Once https:/
It is not critical, but could perhaps be considered as Medium Priority bug.
Related branches
lp://staging/~zsombi/ubuntu-ui-toolkit/alarm-data-adaptation
- PS Jenkins bot: Approve (continuous-integration)
- Cris Dywan: Approve
-
Diff: 4045 lines (+1417/-1493)18 files modifiedmodules/Ubuntu/Components/plugin/adapters/alarmsadapter_organizer.cpp (+540/-478)
modules/Ubuntu/Components/plugin/adapters/alarmsadapter_p.h (+115/-33)
modules/Ubuntu/Components/plugin/alarmmanager_p.cpp (+36/-19)
modules/Ubuntu/Components/plugin/alarmmanager_p.h (+55/-107)
modules/Ubuntu/Components/plugin/alarmmanager_p_p.h (+13/-6)
modules/Ubuntu/Components/plugin/alarmrequest_p.cpp (+0/-84)
modules/Ubuntu/Components/plugin/alarmrequest_p.h (+0/-64)
modules/Ubuntu/Components/plugin/alarmrequest_p_p.h (+0/-50)
modules/Ubuntu/Components/plugin/plugin.pro (+0/-3)
modules/Ubuntu/Components/plugin/ucalarm.cpp (+128/-173)
modules/Ubuntu/Components/plugin/ucalarm.h (+6/-2)
modules/Ubuntu/Components/plugin/ucalarm_p.h (+27/-7)
modules/Ubuntu/Components/plugin/ucalarmmodel.cpp (+118/-93)
modules/Ubuntu/Components/plugin/ucalarmmodel.h (+16/-10)
tests/resources/alarm/AlarmDays.qml (+15/-24)
tests/resources/alarm/Alarms.qml (+174/-148)
tests/unit/tst_alarms/tst_alarms.cpp (+130/-167)
tests/unit_x11/tst_components/tst_alarms.qml (+44/-25)
summary: |
[Performance] Alarm Model is reloaded after creating/deleting an alarm - instead of just appeding to it causing unnecessary listview repaint + instead of just appending to it causing unnecessary listview repaint |
tags: | added: alarm-services |
Changed in ubuntu-ui-toolkit: | |
status: | Confirmed → In Progress |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → In Progress |
no longer affects: | ubuntu-ui-toolkit |
To post a comment you must log in.
The biggest issue is that it is not necessarily an append. It can be that the added item must be inserted in order to match the next fetch order. Deletion is simple.