[Digikam-devel] [Bug 160564] No refresh of the number of pictures assigned to a tag after removing the tag from some pictures
Andi Clemens
andi.clemens at gmx.net
Mon Jul 28 17:52:36 BST 2008
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=160564
------- Additional Comments From andi.clemens gmx net 2008-07-28 18:52 -------
Created an attachment (id=26459)
--> (http://bugs.kde.org/attachment.cgi?id=26459&action=view)
patch for displaying the error
This one is really killing me. For the last 3 weeks I'm working on this, but I
have no clue what is going wrong.
I spent 3 hours stepping through the source with GDB but now I have no idea
where to look anymore.
Something is going wrong when the KIO::Job is executed.
My first thought was that when scanTAlbums() is executed, it will not notice
the tag anymore because it has no association with any image in the ImageTags
table. But this is not the case, the tag is still read.
If you apply the patch you will see that there is actually something going on.
The tag count is initialized with a random number, sometimes it even works
correct. But most of the time the counter reads something like 12343432...
The KDE4 version seems to avoid updating these counters completely, so right
now I'm only able to test it with the KDE3 branch.
Gilles, Marcel, maybe you have any idea why the counter is not initialized
correctly? Use this patch to see what is going on, maybe it will help.
More information about the Digikam-devel
mailing list