Bug 467976

Summary: Overwriting original picture with the renamed one
Product: [Applications] digikam Reporter: flavio.hoeltschi
Component: AdvancedRename-BatchQueueManagerAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: metzpinguin
Priority: NOR    
Version: 8.0.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In:

Description flavio.hoeltschi 2023-03-30 15:40:40 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Open Queue Manager
2. Renaming the file (File Renaming in the Queue Settings)
3. Disable "Save image as a newly created branch" under Behaviour
4. Add other Tool to Assigned Tools and press Run

OBSERVED RESULT
After you run the Workflow, a copy of the original photo is created and the original file, with the old file name is still present in the album.

EXPECTED RESULT
The original file get's renamed and no copy is created

SOFTWARE/OS VERSIONS
Windows: 10 22h2

ADDITIONAL INFORMATION
Maybe I'm also not doing it the intended way.
Comment 1 Maik Qualmann 2023-03-30 18:24:03 UTC
The BQM is not intended for simple renaming. The renaming function is used to give images a new name after editing. There is also an option here to overwrite the file. Use the key "F2" or the right context menu in the thumbnail view to rename files. This renaming tool also provides a display of the filename before the renaming is performed.

https://docs.digikam.org/en/main_window/image_view.html#renaming-a-photograph

Maik
Comment 2 Maik Qualmann 2023-03-30 18:29:34 UTC
In the BQM, the original file is retained when renaming. This is currently the intended behavior. I think we already had a bug request for this.

Maik
Comment 3 Maik Qualmann 2023-03-30 18:56:34 UTC

*** This bug has been marked as a duplicate of bug 394016 ***