Bug 450589

Summary: "Save as": Cancelling the filename dialog does not cancel "Save as"
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: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 7.6.0
Sentry Crash Report:

Description Frank Steinmetzger 2022-02-19 22:05:04 UTC
STEPS TO REPRODUCE
1. Edit an image
2. Execute "Save as"
3. Change your mind and press Escape to cancel the filename dialog

OBSERVED RESULT
The jpeg compression dialog comes up.

EXPECTED RESULT
The dialog should not appear.

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 08:45:48 UTC
Git commit 646a91161443fe90c0a94686cb149da602a3c13e by Maik Qualmann.
Committed on 20/02/2022 at 08:43.
Pushed by mqualmann into branch 'qt5-maintenance'.

fix cancel Qt file dialog
We need to test this change on MacOS, since
we always had a QDialog::Rejected status
here in older Qt versions.
FIXED-IN: 7.6.0

M  +2    -1    NEWS
M  +5    -1    core/utilities/imageeditor/editor/editorwindow.cpp

https://invent.kde.org/graphics/digikam/commit/646a91161443fe90c0a94686cb149da602a3c13e
Comment 2 Maik Qualmann 2022-02-20 08:48:49 UTC
Git commit dfa82ec2d647ce866eb0f544bba413454497763a by Maik Qualmann.
Committed on 20/02/2022 at 08:47.
Pushed by mqualmann into branch 'master'.

backport fix cancel Qt file dialog

M  +5    -1    core/utilities/imageeditor/editor/editorwindow.cpp

https://invent.kde.org/graphics/digikam/commit/dfa82ec2d647ce866eb0f544bba413454497763a