https://bugs.kde.org/show_bug.cgi?id=368734
Bug ID: 368734 Summary: Moving a hierarchy of tags (a tag with subtags) doesn't work and can lead to losing the complete hierarchy Product: digikam Version: 5.1.0 Platform: Other OS: Linux Status: UNCONFIRMED Severity: critical Priority: NOR Component: Tags Assignee: digikam-de...@kde.org Reporter: m...@deltagram.eu Not sure, if what I'm describing is a bug or simply not possible due to some aspect of how tags are stored internally. What I'm trying to do is the (to me) simple task of reorganizing the tag hierarchy. To give a simple example, do the following: 1. Open Digikam 2. Open the tag manager 3. Click any tag and drag-and-drop it to under another tag 4. Close the tag manager 5. Close Digikam 6. Re-open Digikam Upen re-opening Digikam the tag that was moved should still be under the new tag, shouldn't it? At least that's what I would expect. But that is not what is happening. The procedure described above only seems to work for single tags without subtags. When trying to move a tree of tags (e.g. a tag with a subtag), however, nothing seems to change in the database at all: The tag-tree does appear to be filed under the new tag only for the moment - upon re-opening Digikam, however, the changes are reverted and the tags are back where they were before. Note: It's possible to completely lose a huge number of tags by this procedure (this happened to me), when whole tag trees are moved and then the original (now seemingly empty) root tags are deleted. Upon re-opening Digikam those root tags are gone, of course, but the tag trees that were moved before have disappeared as well and can't be resurrected. By the way: This seems to be a long-standing issue. The problem was present in version 4.12 and is still unresolved in 5.1. Reproducible: Always Steps to Reproduce: 1. Open Digikam 2. Open the tag manager 3. Click any tag that has subtags and drag-and-drop it to under another tag 4. Close the tag manager 5. Close Digikam 6. Re-open Digikam 7. Check the tag manager. Actual Results: After re-opening Digikam the changes to the tag trees (tags with subtags) are reverted: The tags are back where they were before moving them. Expected Results: After re-opening Digikam the re-organized tag trees (tags with subtags) should keep their new position in the hierarchy. The problem appears on Linux (not sure about other plattforms) in every configuration I tried (with or without "lazy synchronization", with or without writing to sidecars etc.), was present in version 4.12 and is still present in 5.1.1. -- You are receiving this mail because: You are watching all bug changes.