SUMMARY: Tags are not preserved when an image is edited and saved with Gwenview. STEPS TO REPRODUCE: Attach a tag to an image file, open with Gwenview, rotate and save OBSERVED RESULTS The saved (overwritten) file does not have the tag EXPECTED RESULTS The xattr tags are saved with the updated file SOFTWARE/OS VERSIONS Neon Testing Gwenview : 20.12.1 Plasma : 5.20.4 Frameworks : 5.78.0 Qt : 5.15.2 ADDITIONAL INFORMATION Gwenview reads the extended attributes (it shows the tags, comments and ratings in the information panel), it does not write them back to disc when saving the file The code ought to be there as if you edit the tags in Gwenview, they are written to disc... This is another a 'special case' of Bug 116617.
A possibly relevant merge request was started @ https://invent.kde.org/graphics/gwenview/-/merge_requests/238
Relevant Qt bug: https://bugreports.qt.io/browse/QTBUG-56366
(In reply to Tino Lorenz from comment #2) > Relevant Qt bug: https://bugreports.qt.io/browse/QTBUG-56366 Thank you! ... I don't know Gwenview internals, but an application that saves to a new file and then "mv"s it on top of the original will need to write the xattr to the "new". Similar rationale if the original is shifted to a .bak and the edited copy saved to the original name. It would be nice if a Qt fix solves the issue for a bunch of applications but it could be that there's still work needed at the application layer.