[Users] [Bug 3348] Contact pictures not deleted when contact is deleted

noreply at thewildbeast.co.uk noreply at thewildbeast.co.uk
Wed Dec 24 02:58:21 CET 2014


http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=3348

--- Comment #10 from Ricardo Mones <mones at users.sourceforge.net> ---
(In reply to comment #9)
> Created attachment 1462 [details]
> Fix filename construction for picture deletion
> 
> Since not changing addritem is a concern, here is an updated patch which
> fixes the uses of addritem_person_get_picture for picture deletion on the
> caller side. This fixes the issue of pictures not getting deleted when their
> contact is deleted.

Just tried this patch, but pictures are not deleted yet. Took some address
added one picture to it, the partial --debug log reads:

editaddress.c:1586:saved picture to
/home/mones/.claws-mail/addrbook/313273410.png

Then deleted it:

addr_compl.c:741:Invalidation request for address completion
addr_compl.c:397:read 505 items in (null)
addr_compl.c:741:Invalidation request for address completion
addr_compl.c:397:read 505 items in (null)
alertpanel.c:254:Creating alert panel dialog...
alertpanel.c:213:called inc_lock (lock count 1)
alertpanel.c:223:called inc_unlock (lock count 0)
alertpanel.c:107:return value = 1
addressbook.c:4357:Saving address books...
addressbook.c:4360:Exporting addressbook to file...
addr_compl.c:741:Invalidation request for address completion
addr_compl.c:397:read 503 items in (null)
addr_compl.c:768:end_address_completion ref count 0
addressbook.c:4357:Saving address books...
addressbook.c:4360:Exporting addressbook to file...

Exited Claws Mail, but picture is still there:

$ ll /home/mones/.claws-mail/addrbook/313273410.png
-rw-r--r-- 1 mones mones 8807 Dec 24 02:51
/home/mones/.claws-mail/addrbook/313273410.png

Any idea why?

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Users mailing list