I opened a sample images in gwenview, rotated the image 90 degrees and re-saved the image. Before the rotation the image contained many XMP & some IPTC metadata tags. After the rotation all that metadata was no longer stored in the image. The image size changed from 55kB to 35kB. Reproducible: Always
Created attachment 83855 [details] Sample image after rotation.
Created attachment 83856 [details] Sample image before rotation.
The same thing happened with the gthumb image viewer, but has now been fixed. https://git.gnome.org/browse/gthumb/commit/?h=gthumb-3-2&id=9d504aa9c965f3ff2b33f13f8c5b5864ff8eba39 I also tested digikam and darktable. They did not remove the metadata.
I can confirm this here (Gwenview Version 4.12.2) and in one case even the EXIF data was lost. Also the meta data lost is not noticeable at instant, only after a restart the rotated images doesn't show the metadata anymore.
Digikam does not destroy data when rotating an image. It offers to do the job simply by changing the orientation metadata, not by actually modifying the image. I suspect gwenview actually modifies that image rather then simply modifying the orientation tag.
Retested with version 4.14.0 pre Issue remains. Rotate function results in data lost.
*** This bug has been marked as a duplicate of bug 324597 ***