Bug 389042 - Auto-rotation/flip Images delete face tags
Summary: Auto-rotation/flip Images delete face tags
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Faces-Engine (show other bugs)
Version: 5.8.0
Platform: Microsoft Windows Microsoft Windows
: NOR critical
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-16 10:03 UTC by nonobio
Modified: 2018-02-21 16:28 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.9.0
Sentry Crash Report:


Attachments
Metadata differences on the same photo, before (left) and after (right) applying autorotation (42.91 KB, image/png)
2018-01-16 10:03 UTC, nonobio
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nonobio 2018-01-16 10:03:38 UTC
Created attachment 109903 [details]
Metadata differences on the same photo, before (left) and after (right) applying autorotation

Hi,

When i use "auto-rotation/flip Images" tool, all my faces tag are deleted, even if the image doesn't need rotation.

I applied this task to all my photos and all my face was deleted. Hopefully i had a backup ;)

You can reproduce the bug by using the task "auto rotate" on any photo with face tag : face tag is instantly deleted.

Thanks
Comment 1 Maik Qualmann 2018-01-16 18:39:08 UTC
Git commit f3d94949ccb904219ba7859d1bda11a011564d1d by Maik Qualmann.
Committed on 16/01/2018 at 18:37.
Pushed by mqualmann into branch 'master'.

fix and add support for flip image face tags (flip function backported from 6.0.0)
FIXED-IN: 5.9.0

M  +2    -1    NEWS
M  +25   -0    libs/database/tags/tagregion.cpp
M  +5    -0    libs/database/tags/tagregion.h
M  +25   -10   libs/fileactionmanager/fileworkeriface.cpp

https://commits.kde.org/digikam/f3d94949ccb904219ba7859d1bda11a011564d1d
Comment 2 nonobio 2018-02-21 16:28:13 UTC
Thanks a lot :)