XCF issues and more

Gilles Caulier caulier.gilles at gmail.com
Fri Jul 25 11:06:22 BST 2025


Le jeu. 24 juil. 2025 à 22:29, Carol C. Kankelborg
<cckborg2 at kankelborg.net> a écrit :
>
> Hi,
>    I recently upgraded to DigiKam 8.7.0 (Build Date 6/29/25 09:49), running on Sonoma 14.7.6. I ran the maintenance tools to clean up the database and rebuild thumbnails & fingerprints.
>
>   Before upgrading, there were a bunch of .xcf files that were grouped together under 100% similarity but were clearly very different from each other. After upgrading, these same files are grouped together in similarity, but the thumbnails and preview in Digikam is blank (all white). This doesn’t affect all of my .xcf files. As an example, I have one file I edited with Gimp from a scan from 11/3/22 that looks blank and another from 11/4/22 that looks fine. The blank one looks fine when I open it in GIMP.
>
>   Is this a bug I should report or is there some setting that is throwing DigiKam off?

Hi Carol,

The XCF support is delegate to a KDE framework component named
KImageFormats. There is no specific code in digiKam to handle XCF
files.

https://invent.kde.org/frameworks/kimageformats

XCF support have been problematic in the pass. Even if The Gimp is
open Source, the file format change in time and support become broken
while a period a time. The Gimp in the past provided a library to
handle the file format. This library have been dropped and non
supported since few years. So the people in charge to develop the XCF
thumbnailer code fight against the complexity.

As you use MacOS, the KDE framworks is a little bits outdated in the
8.7.0 release. I will up-to-date this one in the current 8.8.0
pre-release, probably this week end. Like this you will able to test
is the new KImageFormats component fix your XCF problem.

>
>   I sent the above question with a sample .xcf file that was too big so it is awaiting moderator approval. I decided to scale down the image in GIMP and import it into DigiKam to see if it still had the problem, so I could resend my question within the size limits. I encoungered more bugs.

If bug must be reported about XCF, no need to do it in the digiKam
space. Use the KImageFormats component instead in bugzilla:

https://bugs.kde.org/buglist.cgi?bug_status=UNCONFIRMED&bug_status=CONFIRMED&bug_status=ASSIGNED&bug_status=REOPENED&classification=Frameworks%20and%20Libraries&list_id=3209147&product=frameworks-kimageformats&query_format=advanced

... And as you can see there is 3 current reports about XCF...




>
> First, DigiKam crashes when I try to create a new album, even though it does successfully create the new album.
> Second, when I try to “Add Images” to put the new .xcf file in DigiKam, it asks which album, then does nothing. The same thing happens when I try with a .jpg.

Cannot reproduce the problem on my Macbook Pro M1 with Somona.

Please follow instructions here to capture the digiKam trace from the
Apple Terminal for future investiguations:

https://www.digikam.org/contribute/#macos-host

Best regards

Gilles Caulier


More information about the Digikam-users mailing list