Removing a transfer item causes it to never appear again

Bug #1498488 reported by Renato Araujo Oliveira Filho
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
indicator-transfer (Ubuntu)
New
Undecided
Unassigned

Bug Description

On unity while removing a finished transfer it calls the "cancel" function independent of the transfer status:
http://bazaar.launchpad.net/~unity-team/unity8/trunk/view/head:/qml/Panel/Indicators/MenuItemFactory.qml#L814

On transfer service it checks if the transfer can be canceled before call the cancel function.
http://bazaar.launchpad.net/~indicator-applet-developers/indicator-transfer/trunk.15.10/view/head:/src/view-gmenu.cpp#L187
http://bazaar.launchpad.net/~indicator-applet-developers/indicator-transfer/trunk.15.10/view/head:/src/controller.cpp#L80

"can_cancel" only allows cancel items in the finished state:
http://bazaar.launchpad.net/~indicator-applet-developers/indicator-transfer/trunk.15.10/view/head:/src/transfer.cpp#L56

This causes that the "cancel" function is never called on transfer object, and the transfer object will never be removed from the list.

Looks like it does not cause any problems for the user, but it could cause inconsistency in the transfer plugin.

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

Other bug subscribers

Remote bug watches

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