Bug 497588 - digiKam crashes when adjusting date and time for multiple photos consecutively without restarting the application
Summary: digiKam crashes when adjusting date and time for multiple photos consecutivel...
Status: REPORTED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Generic-TimeAdjust (show other bugs)
Version: 8.5.0
Platform: macOS (DMG) macOS
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-17 04:31 UTC by plus-unvaried-hut
Modified: 2024-12-19 15:08 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description plus-unvaried-hut 2024-12-17 04:31:41 UTC
SUMMARY
digiKam crashes when adjusting date and time for multiple photos consecutively without restarting the application

STEPS TO REPRODUCE
1. Select one or multiple photos and/or videos in digiKam
2. Choose "Adjust Date & Time" and specify the desired date, then press Apply
3. Repeat steps 1-2 without closing digiKam

OBSERVED RESULT
digiKam stops responding and requires a Force Quit after the second attempt to adjust date and time

EXPECTED RESULT
digiKam should allow multiple consecutive date and time adjustments without crashing or requiring a restart

SOFTWARE/OS VERSIONS
macOS: 15.1.1
KDE Frameworks Version: 6.7.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION
• The crash can be avoided by quitting and reopening digiKam between date and time adjustments
• This issue consistently occurs when attempting to adjust date and time multiple times without restarting the application
Comment 1 caulier.gilles 2024-12-17 04:51:05 UTC
>2. Choose "Adjust Date & Time" and specify the desired date, then press Apply

Witch settings did you use exactly in the Timeadjust plugin?
Witch settings did you use exactly in the digiKam Setup Metadata view?
Witch king of image type did you use?
Comment 2 Maik Qualmann 2024-12-17 07:37:52 UTC
possible fix for the crash:

https://invent.kde.org/graphics/digikam/-/commit/4847626294e2ac0801b2c7890ba8968c0e39a0a6

Maik
Comment 3 plus-unvaried-hut 2024-12-18 04:23:26 UTC
1. From the Item menu, I selected "Adjust Time & Date..."
2. Timestamp Used: I specified any date and time
3. Timestamp Adjustments: Copy value
4. Timestamp Updated: I selected all excep "Update timestamps with ExifTool"

Which kind of image type? JPG, GIF, PNG, MPG, AVI. I don't think it's related to the type of the file.

It is worth mentioning also that the exiftool linked to digiKam is version 13.00
Comment 4 caulier.gilles 2024-12-18 07:54:31 UTC
Please test with the new MacOS installer 8.6.0 pre-release available here :

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

Gilles Caulier
Comment 5 plus-unvaried-hut 2024-12-19 15:08:13 UTC
I tested it on the 8.6.0 pre-release. It worked for a couple of times then it crashed on the third.