STEPS TO REPRODUCE 1. Disable the Settings -> Image Editor -> Versioning -> In Main View -> ”Always show original image” and ”Always show intermediate snapshots” settings 2. Open an image in the Image Editor 3. Make any change e.g. a crop 4. Click “Save Changes“ or “Save Changes as a new version” (both exhibit the exact same behaviour) OBSERVED RESULT Both the original and the edited image are shown in the photo list, rather than only the edited version. The edited version has _v1 appended to the file name. It does NOT occur when non-destructive editing is disabled entirely - in that case, the image editor simply overwrites the original as expected. EXPECTED RESULT Only the final edited version of the photo should be visible in the main view, no original, duplicates or intermediate stages. SOFTWARE/OS VERSIONS Operating System: Kubuntu 23.10 KDE Plasma Version: 5.27.8 KDE Frameworks Version: 5.110.0 Qt Version: 5.15.10 Kernel Version: 6.5.0-26-generic (64-bit) Graphics Platform: Wayland Processors: 20 × 12th Gen Intel® Core™ i7-12700H
It is possible that your "original" image is not an original and already has an image history, then it will not be hidden. This definitely works here, just tested it. I'll take another look at the intermediate images to hide. Maik
> It is possible that your "original" image is not an original and already has > an image history, then it will not be hidden. Interesting, how do I tell if this is the case? as far as I can remember, this has been the same every time I edit and save a photo, whether it’s fresh off the camera or if I’ve already edited it. Even if the image I’m editing already has a history, surely one of “Save” or ”Save as new version” should save it in a way which doesn’t appear to duplicate it?
An original image is not hidden when saving an image using "Save as new version", only when using "Save changes". Maik
I tried it again now and this time the ”Save” option worked exactly as I expected, which definitely wasn’t the case last time. Could it be that changing version visibility settings requires a restart of the app or computer in order to take effect? I’m pretty sure I restarted DigiKam after changing the settings while testing for this bug without seeing any difference. Tangentially related: when DigiKam is configured to not show original photos if an edited one is present, is there a way of easily reverting the photo to a previous state? The Versions sidebar seems to only show versions, but not allow any actions to be taken on them. Also, the documentation claims https://docs.digikam.org/en/setup_application/editor_settings.html#image-versioning-settings that only showing the most recent edit in the main view is the default setting, which I agree is a sensible default. However that wasn‘t the case for me, on Kubuntu DigiKam came with both ”In Main View” checkboxes checked, which is a big part of what led to this confusion.
In principle, no restart is necessary, the options for visibility of the original image take effect immediately. You can only reset the original flag if you delete all derived images. But I don't know exactly whether digiKam-8.1.0 already worked, I would have to check. Otherwise, there is an overlay icon in the versioning sidebar that appears and you can activate it to always display a version (including the original). This also overrides the setting in setup. Another thing is, we had a bug in some digiKam-7.x.x version where we saved the original flag incorrectly, maybe this affects you too. And yes, it is intended that both options are activated by default. New users will otherwise wonder why digiKam “deleted” the original image. ((:-)) Maik
I tested the version feature intensively again here under digiKam-8.4.0. It works as expected. The intermediate snapshots (filename scheme _vx-x) can also be hidden if intermediate snapshots have been enabled. I'm closing the bug for digiKam-8.4.0. Maik