Bug 510403 - Writing something in Captions/Description --> Captions works incorrectly
Summary: Writing something in Captions/Description --> Captions works incorrectly
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Metadata-Engine (other bugs)
Version First Reported In: 8.7.0
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-08 18:47 UTC by tomaschowski
Modified: 2025-10-12 05:52 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 8.8.0
Sentry Crash Report:


Attachments
Bug 510403 (85 bytes, text/plain)
2025-10-08 20:56 UTC, tomaschowski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tomaschowski 2025-10-08 18:47:51 UTC
***
I use the IPTC functions very intensively. It worked perfectly until now. For a few weeks now, I haven't been able to create IPTC entries for JPEG files.


I tried activating the entries "Use ExifTools Backend ...." and "Delegate to Exiftool backend ..." in Settings/Configure digikam/Metadata --> Behavior. That doesn't work. The activation keeps getting reset.

What can I do?

***

SUMMARY
Writing something in Captions/Description --> Captions works incorrectly


STEPS TO REPRODUCE
1. First, I write a note in Captions/Description --> Captions
2. Then I click Apply
3. After that, I click "1 file awaits synchronization"

OBSERVED RESULT
after a few seconds, my entry disappears.


EXPECTED RESULT
An entry in IPTC/Caprions with an image description and technical information

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 25.04
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.3

DigiKam 8.7.0 with build 11.11.11 11:11
Datenbank QSQLITE
Database locale: UTF-8

ADDITIONAL INFORMATION
I've been using Digikam for years and I'm pretty impressed. Everything has worked perfectly and reliably so far.
My collection of photos and reproductions has now grown to over 220,000 photos. I don't use facial recognition or the "Image Quality Scanner."
Could the database be corrupted?
Comment 1 Maik Qualmann 2025-10-08 19:09:00 UTC
A quick test here with digiKam-8.8.0 shows no problems. It could be related to a bug in digikam-8.7.0 that causes us to read an empty JPEG comment. However, it could also be related to an Exif size limit of 65,535 bytes; some new cameras reach this size.
Please upload a sample image with which the issue occurs.

Maik
Comment 2 tomaschowski 2025-10-08 20:56:37 UTC
Created attachment 185618 [details]
Bug 510403

The entry in Captions/Descriptions/Title is OK. (Sun, Beach and Pyrenees)

The entry in Captions/Descriptions/Captions disappears after metadata synchronization.
Here is the corresponding text:
four faces picture
Dieses Bild kann von allen Seiten aus betrachtet werden und erhält jedesmal eine neue Bedeutung.

Die Untertitel im Uhrzeigersinn:
Liebesakt (nicht jugendfrei) -
Saxophonspieler -
Blick in einen Canyon; die vordersten Felsen sind überstrahlt -
weiße Felsen im Vordergrund die immer dunkeler werden

Herstellung: Déalcomanie, Gouache

Bildträger: Zeichenkarton 200g, ca 25x28cm (optional mit Schmutzrand)

Grund: Gesso

20.9.2025, Pia, France
Comment 3 Maik Qualmann 2025-10-09 06:14:43 UTC
I can also add a caption to the image with digiKam-8.7.0 without any problems.
Are you using the digiKam Snap package on Kubuntu?
Snap uses Sansbox and is unsuitable for digiKam. Alternatively, you could also test our digiKam AppImage to see if the issue occurs for you.

To help further, we need a log of the process when you try to add a caption.
Please start a terminal: and execute the following commands:

export QT_LOGGING_RULES="digikam*=true"
digikam

After you try to add a caption, send us the complete text output in the terminal.

Maik
Comment 4 tomaschowski 2025-10-09 10:01:12 UTC
Oh, I installed Digikam from flathub:
digiKam: 8.7.0
KDE Frameworks: 6.18.0
Qt: Using 6.9.3 and built against 6.9.3
Flatpak
KDE Flatpak runtime (Wayland)
Build ABI: x86_64-little_endian-lp64
Kernel: linux 6.14.0-33-generic

I tried running the terminal command. I installed "qtcreator" for this purpose.
I ran the command before and immediately after the execution.
Unfortunately, no log is displayed in the terminal.

Francois
Comment 5 caulier.gilles 2025-10-09 10:09:52 UTC
Following instructions here:

https://www.digikam.org/contribute/#linux-host
Comment 6 tomaschowski 2025-10-09 15:23:18 UTC
I tried it and entered the following into the terminal:
"export QT_LOGGING_RULES="digikam*=true"
digikam"

However, the answer was that I should install Digikam from Snap
"Der Befehl 'digikam' wurde nicht gefunden, kann aber installiert werden mit:
sudo snap install digikam"
I did not install Digikam with Snap but with Flathub

Maybe it makes more sense for me to wait for Digikam 5.8.0, as Maik initially recommended???
Comment 7 Maik Qualmann 2025-10-09 19:10:03 UTC
So you're using digiKam as a Flatpak. Like Snap packages, Flatpak has a sandbox. While you can drill holes in the Flatpak box, you have to configure this; otherwise, you only have permissions to modify the images in your home directory.

Please download digiKam as an AppImage for testing purposes. You just need to make it executable, and you can simply launch it; nothing will be installed or changed on your system.

Current pre-release digiKam-8.8.0 from here (download the AppImage without the debug in the file name):

https://files.kde.org/digikam/

Maik
Comment 8 tomaschowski 2025-10-11 21:48:59 UTC
Hallo Maik!
Great!
I tried 8.8 as an appimage.
I inserted several long texts as captions – and it worked! No more text disappeared!
By the way: the database was transferred without any problems!
It looks like the problem is solved!
Thank you very much
Francois