Bug 450588

Summary: "Save" does not work if image was removed outside of Showfoto
Product: [Applications] digikam Reporter: Frank Steinmetzger <dev+kde>
Component: Showfoto-SaveAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: 7.5.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 7.6.0
Sentry Crash Report:

Description Frank Steinmetzger 2022-02-19 22:00:16 UTC
STEPS TO REPRODUCE
1. Edit an image.
2. Save it.
3. Do some more editing.
4. Move away the image, for example in Dolphin. My goal in that moment was to have two versions of the image with different edits so that I can compare the effects.
5. Execute "Save" again (I didn’t use "Save as" because I wanted to avoid its more complex process).

OBSERVED RESULT
Showfoto produces an error message “Failed to save file”.

EXPECTED RESULT
Saving should work like in any other application in such a situation.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.24.1
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.2
Kernel Version: 5.16.9-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-4590 CPU @ 3.30GHz
Memory: 31.0 GiB of RAM
Graphics Processor: Mesa DRI Intel® HD Graphics 4600
Comment 1 Maik Qualmann 2022-02-20 14:27:08 UTC
Git commit 2f7117c10a0901f0af2831b5f2f59b2f5be382e7 by Maik Qualmann.
Committed on 20/02/2022 at 14:26.
Pushed by mqualmann into branch 'qt5-maintenance'.

fix restore DImg format after saving image
FIXED-IN: 7.6.0

M  +2    -1    NEWS
M  +1    -0    core/libs/dimg/dimg_fileio.cpp

https://invent.kde.org/graphics/digikam/commit/2f7117c10a0901f0af2831b5f2f59b2f5be382e7
Comment 2 Maik Qualmann 2022-02-20 14:29:16 UTC
Git commit 148d220af6dd241c1d44d65189acdb47249cbd61 by Maik Qualmann.
Committed on 20/02/2022 at 14:27.
Pushed by mqualmann into branch 'master'.

backport: fix restore DImg format after saving image

M  +1    -0    core/libs/dimg/dimg_fileio.cpp

https://invent.kde.org/graphics/digikam/commit/148d220af6dd241c1d44d65189acdb47249cbd61