[Bug 210353] New: digikam duplicates icons for TIFF iles

View: New views
15 Messages — Rating Filter:   Alert me  

[Bug 210353] New: digikam duplicates icons for TIFF iles

by Bugzilla from gorkypl@gmail.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://bugs.kde.org/show_bug.cgi?id=210353

           Summary: digikam duplicates icons for TIFF iles
           Product: digikam
           Version: unspecified
          Platform: Gentoo Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: digikam-devel@...
        ReportedBy: gorkypl@...


Version:           1.0.0_beta5 (using KDE 4.3.2)
Compiler:          gcc-4.3.2 gcc (Gentoo 4.3.2-r3 p1.6, pie-10.1.5) 4.3.2
OS:                Linux
Installed from:    Gentoo Packages

Icons for TIFF files are duplicated and assigned to wrong files.
An example can be seen on the following screenshot:
http://img383.imageshack.us/img383/2323/digikamicons.jpg

The repeating two icons belong to photos from totally different direcory, and
so neither of the icons seen on the screenshot represents the underlying image.

The names of the TIFF images have constant pattern:
Negative0-02-01(1).tif
Negative0-02-01(1).tif
...
Negative6-38-37(1).tif

The repeating icons have names Negative5-31-30(1).tif and
Negative6-38-37(1).tif, they come from the directory
ALBUMS/2006/06 - Parafiada/

As far as I can see the JPG images are not affected.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
Digikam-devel@...
https://mail.kde.org/mailman/listinfo/digikam-devel

[Bug 210353] digikam duplicates icons for TIFF iles

by Bugzilla from gorkypl@gmail.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://bugs.kde.org/show_bug.cgi?id=210353


Paweł <gorkypl@...> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gorkypl@...




--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
Digikam-devel@...
https://mail.kde.org/mailman/listinfo/digikam-devel

[Bug 210353] digikam duplicates icons for TIFF iles

by Bugzilla from caulier.gilles@gmail.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://bugs.kde.org/show_bug.cgi?id=210353


Gilles Caulier <caulier.gilles@...> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|general                     |Albums GUI
            Version|unspecified                 |1.0.0-beta5




--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
Digikam-devel@...
https://mail.kde.org/mailman/listinfo/digikam-devel

[Bug 210353] digikam duplicates icons for TIFF iles

by Bugzilla from gorkypl@gmail.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://bugs.kde.org/show_bug.cgi?id=210353





--- Comment #1 from Paweł Rumian <gorkypl gmail com>  2009-10-12 22:52:29 ---
Of course I meant thumbnails, not icons, sorry if that was misleading in any
way (but I hope that the screenshot is self-explanatory)...

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
Digikam-devel@...
https://mail.kde.org/mailman/listinfo/digikam-devel

[Bug 210353] digikam duplicates icons for TIFF iles

by Bugzilla from marcel.wiesweg@gmx.de :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://bugs.kde.org/show_bug.cgi?id=210353


Marcel Wiesweg <marcel.wiesweg@...> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marcel.wiesweg@...




--- Comment #2 from Marcel Wiesweg <marcel wiesweg gmx de>  2009-10-17 17:16:57 ---
What happens if you change the modification date of one of the affected images:
touch Negative....tif
?

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
Digikam-devel@...
https://mail.kde.org/mailman/listinfo/digikam-devel

[Bug 210353] digikam duplicates icons for TIFF iles

by Bugzilla from gorkypl@gmail.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://bugs.kde.org/show_bug.cgi?id=210353





--- Comment #3 from Paweł Rumian <gorkypl gmail com>  2009-10-20 00:09:04 ---
OK, I've got some results, but no resolution yet.

After doing simple
$ find . -name *.tif -exec touch {} \;
the thumbnails changed, but are still duplicated.

Adding 'sleep 1' between touches hasn't changed much.
I will try to examine it further...

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
Digikam-devel@...
https://mail.kde.org/mailman/listinfo/digikam-devel

[Bug 210353] digikam duplicates icons for TIFF iles

by Bugzilla from gorkypl@gmail.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://bugs.kde.org/show_bug.cgi?id=210353





--- Comment #4 from Paweł Rumian <gorkypl gmail com>  2009-10-20 00:32:08 ---
It seems that digikam takes the most recent .tif thumbnail and assigns it to
many other images, but not always.

Sometimes few thumbnails are unaffected, but only until the next .tif file has
its ctime changed.

Neverthless, I can't yet see how the modification of ctime affects the
generated (and duplicated) thumbnails.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
Digikam-devel@...
https://mail.kde.org/mailman/listinfo/digikam-devel

[Bug 210353] digikam duplicates icons for TIFF iles

by Bugzilla from marcel.wiesweg@gmx.de :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://bugs.kde.org/show_bug.cgi?id=210353





--- Comment #5 from Marcel Wiesweg <marcel wiesweg gmx de>  2009-11-07 16:05:00 ---
Remote debugging is difficult.
Can you send me sample pictures? I need at least two for this problem. More
would be better, dont know how large the files are. If necessary you can send
them by private mail.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
Digikam-devel@...
https://mail.kde.org/mailman/listinfo/digikam-devel

[Bug 210353] digikam duplicates icons for TIFF iles

by Bugzilla from gorkypl@gmail.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://bugs.kde.org/show_bug.cgi?id=210353





--- Comment #6 from Paweł Rumian <gorkypl gmail com>  2009-11-11 16:06:10 ---
Private mail has been sent - I hope you'll be able to reproduce the problem...

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
Digikam-devel@...
https://mail.kde.org/mailman/listinfo/digikam-devel

[Bug 210353] digikam duplicates icons for TIFF iles

by Bugzilla from gorkypl@gmail.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://bugs.kde.org/show_bug.cgi?id=210353





--- Comment #7 from Paweł Rumian <gorkypl gmail com>  2009-12-03 19:35:21 ---
Were you able to reproduce the bug?

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
Digikam-devel@...
https://mail.kde.org/mailman/listinfo/digikam-devel

[Bug 210353] digikam duplicates icons for TIFF iles

by Bugzilla from marcel.wiesweg@gmx.de :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://bugs.kde.org/show_bug.cgi?id=210353





--- Comment #8 from Marcel Wiesweg <marcel wiesweg gmx de>  2009-12-04 18:39:09 ---
Yes, I can reproduce.
The problem is that all images
- have exactly the same file size
- contain bit by bit the same metadata
- have the same creation date (none in metadata)
- have the same first 8k of data, bit by bit.

That is enough to make digikam believe it's all the same file...
Not sure about a good solution. When creating a list of criteria as above,
someone will come who has created files that slip through the loopholes.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
Digikam-devel@...
https://mail.kde.org/mailman/listinfo/digikam-devel

[Bug 210353] digikam duplicates icons for TIFF iles

by Bugzilla from languitar@semipol.de :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://bugs.kde.org/show_bug.cgi?id=210353


Johannes Wienke <languitar@...> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |languitar@...




--- Comment #9 from Johannes Wienke <languitar semipol de>  2009-12-04 18:42:31 ---
Why are these criteria needed? Isn't a file uniquely identified by it's path on
the disk?

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
Digikam-devel@...
https://mail.kde.org/mailman/listinfo/digikam-devel

[Bug 210353] digikam duplicates icons for TIFF iles

by Bugzilla from marcel.wiesweg@gmx.de :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://bugs.kde.org/show_bug.cgi?id=210353





--- Comment #10 from Marcel Wiesweg <marcel wiesweg gmx de>  2009-12-05 12:39:40 ---
You can move, copy or rename files anytime, you can have backup collections and
thus multiple times the same picture in your collection. You can even
completely screw up your collection settings, just add a new collection and no
tag is lost. It's pretty reassuring.

For normal photos taken with a digital camera, the criteria are always
sufficient. The problem here, with identical metadata and identical filesize
(completely uncompressed?? not even lossless compression?) we are hitting a
corner case. The additional problem is that obviously the first 8kb do not
contain pixel data.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
Digikam-devel@...
https://mail.kde.org/mailman/listinfo/digikam-devel

[Bug 210353] digikam duplicates icons for TIFF iles

by Bugzilla from gorkypl@gmail.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://bugs.kde.org/show_bug.cgi?id=210353





--- Comment #11 from Paweł Rumian <gorkypl gmail com>  2009-12-08 01:39:42 ---
It is not a problem with photos from an ordinary camera, indeed.

But I have hit it several times when batch-scanning photos, and in these cases
the severity of this bug is high - digikam becomes quite unusable, because one
cannot see and identify photos before opening them...

Maybe we should consider identifying the photos by some kind of
content-dependent criterium? Like md5sum or something similar?

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
Digikam-devel@...
https://mail.kde.org/mailman/listinfo/digikam-devel

[Bug 210353] digikam duplicates icons for TIFF iles

by Bugzilla from marcel.wiesweg@gmx.de :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://bugs.kde.org/show_bug.cgi?id=210353





--- Comment #12 from Marcel Wiesweg <marcel wiesweg gmx de>  2009-12-09 18:41:43 ---
It's a content-based hash, but not over the whole file, only over parts, more
precisely, the first 8kb. It's assumed that within the first 8k image data is
contained. That also fails for your pictures. So your peculiarities here
include:
- apparently no compression, normally lossless compression already results in
differing file sizes
- no metadata
- identical file content in first 8kb.

A possible solution is to extend the 8kb, or take other small data parts from
the middle and end of the file. I must think about the implications of changing
the hash creation.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
Digikam-devel@...
https://mail.kde.org/mailman/listinfo/digikam-devel