Bug 366518 - Showfoto writes to wrong file when switching between images
Summary: Showfoto writes to wrong file when switching between images
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Showfoto-Save (show other bugs)
Version: 5.0.0
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-08 11:26 UTC by Frank Steinmetzger
Modified: 2022-02-05 05:13 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Steinmetzger 2016-08-08 11:26:29 UTC
The program seems to have some difficulty working with several images at once.

Reproducible: Always

Steps to Reproduce:
1. Open several images into Showfoto, for example in Dolphin using Open with…
2. Edit one of them (image “A”).
3. Switch to another (image “B”), e.g. using the space key.
4. Showfoto asks whether to save the changes to image A. Select Cancel.
5. Showfoto asks a second time (this should not happen in the first place). If I decline again, all is well.
6. Select Save.

Actual Results:  
The changed content of image A is saved to image B, both within Showfoto canvas and the file on disk. So now, image B is lost.

Expected Results:  
The Save-question should only be asked once, and if answered with Yes, the contest shall be saved to the correct file.

I observed this behaviour for the first time quite some time ago, both Showfoto 4 and 5 are affected.
Comment 1 Maik Qualmann 2016-08-08 19:16:43 UTC
Git commit a0e8a30c4ffb26d6de99b55924f3bbeafe622653 by Maik Qualmann.
Committed on 08/08/2016 at 19:12.
Pushed by mqualmann into branch 'master'.

fix switching between images in Showfoto, if keys are used
FIXED-IN: 5.2.0

M  +2    -1    NEWS
M  +7    -11   showfoto/main/showfoto.cpp

http://commits.kde.org/digikam/a0e8a30c4ffb26d6de99b55924f3bbeafe622653