https://bugs.kde.org/show_bug.cgi?id=448223
Bug ID: 448223 Summary: Warning ("Another tag with the same name already exists") when merging several tags appears too soon Product: digikam Version: 7.4.0 Platform: Flatpak OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: Tags-Keywords Assignee: digikam-bugs-n...@kde.org Reporter: iwannaber...@gmail.com Target Milestone: --- SUMMARY If you drag and drop a tag to another place of the tree where another tag is called the same way, you will be asked if you want to merge them. However, in digikam is not possible to move elements from one place of the tag tree to another if there is another operation pending. So, if you drag two or more tags, you will first be asked if you want to merge the first of them ("Another tag with the same name already exists. Do you want to merge the tags?"), and immediately after answering Yes, the same popup will appear for the second one. Answering yes to that one however will show a warning message and cancel the whole operation. In order to merge two or more tags you have to accept the first merge and wait until the progress bar reached 100% to click again on Yes on the popup window. And repeat that operation for as many tags you are merging. Clicking yes too soon will cancel the process and the tags will not be written (potentially desyncing the database and the picture metadata). I think digikam should wait until the previous operation has finished before showing the popup again, so no errors are caused if a user clicks "Yes" too soon. Also, it could show the name of the tag to be merged in the same dialog. STEPS TO REPRODUCE 1. Drag and drop two tags and merge them with other tags. 2. A first confirmation popup will appear ("Another tag with the same name..."). Click on Yes. 3. Immediately, a second confirmation popup will appear. Click on Yes. OBSERVED RESULT A warning message appears saying that the operation could not be completed and the process is cancelled. EXPECTED RESULT Either do not show the second popup until digikam is ready to merge the second tag, or queue the process so it doesn't ask for confirmation every time. SOFTWARE/OS VERSIONS Digikam 7.5 (flatpak) Build date: 23/12/21 10:27 (target: Debug) Rev.: 6c73e98ec8403ac5c94e289b511d8ac258a95be3 on Ubuntu 20.04 LTS -- You are receiving this mail because: You are watching all bug changes.