for most operations the 'undo' function does not work. Reproducible: Always Steps to Reproduce: 1. Open image 2. Change color to BW or resize or ... 3. accept changes 4. Edit/undo last operation Actual Results: Modifications on the image persist. Expected Results: Modifications on the image should be undone This is on version 3.5.0 under ubuntu 14.04
Same here, Digikam 5.0.0 on Plasma 5.7.2, Qt 5.6.1, Frameworks 5.24.0 on Gentoo Linux.
Strangely, this is absolutely not here to reproduce. All processing steps can undo. Possibly a problem with the undo cache. Please share the output of the console. Maik
Created attachment 100399 [details] Showfoto terminal output with comments There you go. I opened a file in Showfoto, resized and saved it. I inserted appropriate comments into the log, beginning with "# --------".
Free space available in Editor cache [ "/home/frank/.cache/showfoto/" ] in Mbytes: 753 The minimum free disk space for undo cache is 1024 Mbytes. Maik
I see. I replaced ~/.cache/showfoto with a symlink to /var/tmp, which is a 24 G ramdisk on this machine. Undo works now, thanks for the hint. I think some kind of notification would be helpful for other unsuspecting users, though. I saw that log line, too. But I did not think much of it because it looks like a statement, rather than an error message.
I agree that Undo manager need to show some message box with relevant information about missing free space to complete undo registration in temporary directory. Gilles Caulier
(In reply to Frank Steinmetzger from comment #5) > I see. I replaced ~/.cache/showfoto with a symlink to /var/tmp, which is a > 24 G ramdisk on this machine. Undo works now, thanks for the hint. > > I think some kind of notification would be helpful for other unsuspecting > users, though. I saw that log line, too. But I did not think much of it > because it looks like a statement, rather than an error message. Here the shofoto cache already resided on /var/tmp/kdecache-'user'/showFoto which was located on a logical volume that had only 800M left. Putting /var/tmp/ on an LV with 4G capacity solved the issue. A message at startup about the lack of temporary space would be helpful.
Git commit 9897334755437d8da7cfc4b0cf0a7252ec6788d4 by Maik Qualmann. Committed on 29/04/2018 at 06:32. Pushed by mqualmann into branch 'master'. show message box if free disk space for the undo file is < 2GiB FIXED-IN: 6.0.0 M +2 -1 NEWS M +31 -6 core/utilities/imageeditor/core/undocache.cpp https://commits.kde.org/digikam/9897334755437d8da7cfc4b0cf0a7252ec6788d4