Bug 421560 - Undo not working in ImageEditor RC
Summary: Undo not working in ImageEditor RC
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: ImageEditor-Undo (other bugs)
Version First Reported In: 7.0.0
Platform: Mint (Debian based) Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-15 12:29 UTC by raymond.d.lucas
Modified: 2020-05-15 16:22 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description raymond.d.lucas 2020-05-15 12:29:29 UTC
SUMMARY
In the release candidates after digikam-7.0.0-rc-20200502T111802-x86-64.appimage. Most recently tried is digikam-7.0.0-rc-20200514T150640-x86-64.appimage.

STEPS TO REPRODUCE
1. Open an image in Image Editor
2. Make an edit eg select a section and crop (CTRL+X)
3. Try to undo (CTRL+Z) and 

OBSERVED RESULT
No visible change occurs.
Interestingly when you close the Image Editor (CTRL+W), it does not warn you to save the changed image. It's as though it thinks it has un-done the change and is back to the original, even though that's not reflected on screen.

EXPECTED RESULT
Image returns to it's original state.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Maik Qualmann 2020-05-15 16:22:04 UTC
Git commit 4cf229715045b0f6f984808d3875e600afe83460 by Maik Qualmann.
Committed on 15/05/2020 at 16:20.
Pushed by mqualmann into branch 'master'.

fix the undo cache to use 64 bit variable
FIXED-IN: 7.0.0

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

https://invent.kde.org/kde/digikam/commit/4cf229715045b0f6f984808d3875e600afe83460