Bug: multiple items get deleted when first remorse timer is triggered

asked 2014-01-24 01:13:51 +0300

Acce gravatar image

updated 2014-07-28 11:02:24 +0300

jiit gravatar image

Problem: when removing multiple items from a listview, all get removed when the remorse timer for the first item runs out of time. I believe this is not intended, as one might want to cancel the action on any of the items.

How to reproduce: Go to for example settings->backup, delete multiple backups before remorse timers are finished.

Edit 1: Note that this is not about the remorse banner, but individual timers in a list or gridview.

Edit 2: after quick testing with calendar, this is backup specific. I'll try to find what is different in the Qml files, as I observe this.behaviour in my own app too.

Edit 3: looking at the qml files in /usr/lib/qt5/qml/Sailfish/Vault/SnapshotItem.qml and in /usr/share/jolla-calendar/pages/EventListDelegate.qml , it seems that this behaviour is specific to list delegates using remorseAction to initiate the remorsetimer.

edit retag flag offensive close delete

Comments

1

With a single remorse timer bar: How do you want to differentiate which of your multiple deletions you want to stop? I would say, this behavior, to delete all items at once (even there have been individual delete actions) is just the only way it can reasonably work.

If you want individual remorse timers, you need individual remorse timer bars.Maybe you want to request this?

jgr ( 2014-01-24 01:27:23 +0300 )edit

Hum, if you delete manually multiple item in a list view, each item has is own remorse timer, and delete is done at the right time. ex: in email.

That could be specific to backup

Khertan ( 2014-01-24 09:16:41 +0300 )edit

@jgr: as Khertan already pointed out, there are two types of remorse timers: remorse banner and individual timers, usable in lists & grids. This case is about the latter case, as you can see if you try to reproduce it.

Acce ( 2014-01-24 09:52:40 +0300 )edit