"Select all" does not remove all entries

Bug #1407977 reported by Gustavo Pichorim Boiko
18
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Band-aids for Ubuntu Phone
New
Undecided
Unassigned
Canonical System Image
Confirmed
High
Bill Filler
dialer-app (Ubuntu)
Confirmed
High
Gustavo Pichorim Boiko
dialer-app (Ubuntu RTM)
New
Undecided
Gustavo Pichorim Boiko
messaging-app (Ubuntu)
Confirmed
Undecided
Gustavo Pichorim Boiko
messaging-app (Ubuntu RTM)
New
Undecided
Gustavo Pichorim Boiko

Bug Description

Steps to reproduce in dialer-app:
- you need to have the Recents page populated with a lot of entries
- open the Recents view
- long press an item
- hit the checkbox button in header to select all entries
- hit the delete button in header

Steps to reproduce in messaging-app:
- open a conversation that has a good amount of messages
- long press an item
- hit the checkbox buttojn in header to select all entries
- hit the deletete button in header

Expected behavior:
- All entries get removed

What happens:
- older entries appear on screen

This problem happens because of the way the history-service models were implemented: they only fetch a small amount of entries initially, and then fetches the rest of the data on demand. But the "select all" option only selects the items that were already retrieved, not all items on the database.

Changed in messaging-app:
importance: Undecided → High
assignee: nobody → Gustavo Pichorim Boiko (boiko)
Changed in dialer-app (Ubuntu):
assignee: nobody → Gustavo Pichorim Boiko (boiko)
Changed in dialer-app (Ubuntu RTM):
assignee: nobody → Gustavo Pichorim Boiko (boiko)
Changed in messaging-app (Ubuntu):
assignee: nobody → Gustavo Pichorim Boiko (boiko)
Changed in messaging-app (Ubuntu RTM):
assignee: nobody → Gustavo Pichorim Boiko (boiko)
no longer affects: messaging-app
no longer affects: dialer-app (Ubuntu)
affects: dialer-app → dialer-app (Ubuntu)
Changed in dialer-app (Ubuntu):
status: New → Confirmed
Changed in messaging-app (Ubuntu):
status: New → Confirmed
Changed in canonical-devices-system-image:
assignee: nobody → Bill Filler (bfiller)
importance: Undecided → High
milestone: none → 12
status: New → Confirmed
Bill Filler (bfiller)
Changed in canonical-devices-system-image:
milestone: 12 → backlog
Revision history for this message
Tomás Tormo (tomas-tormo) wrote :

I'm in rc-proposed build number 408 for vegetahd and this issue still exists.

I've populated the dialer-app database with 200 registers and only those which are shown in the Recents view are deleted. So for example, if I get all the 200 registers on screen and do "Select All" an delete, then all of them are deleted from the database.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.