Public bug reported:

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.

** Affects: indicator-transfer (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1498488

Title:
  Removing a transfer item causes it to never appear again

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/indicator-transfer/+bug/1498488/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to