Bug 506735

Summary: In the People:Unknown view, rotating multiple images using the context menu produces unpredictable results
Product: [Applications] digikam Reporter: incansvl
Component: Faces-WorkflowAssignee: Digikam Developers <digikam-bugs-null>
Status: REPORTED ---    
Severity: normal CC: caulier.gilles
Priority: NOR    
Version First Reported In: 8.7.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description incansvl 2025-07-07 20:40:45 UTC
SUMMARY
In the People:Unknown view, rotating multiple images using the context menu produces unpredictable results, images may be rotated inconsistent amounts (multiples of 90deg in one step)

STEPS TO REPRODUCE
1. Scan a collection of images for faces
2. Open the People pane and select the "Unknown" set
3. Select multiple faces, using shift-click and/or cntrl-click
4. Select (say) "Rotate-Right" from the right-click context menu

OBSERVED RESULT
One or more of the selected images may be rotated by 180deg instead of 90deg.

If this happens, multi-selecting the problem images and trying to correct the issue by (say) rotating these left by 90deg will often instead result in them being rotated back by the incorrect amount (180deg in this case) back to their starting orientation.

In generl the only way to fix the problem is to select the faces one by one and rotate each one until it is in the correct orientation.

EXPECTED RESULT
Rotation of multiple images using the context menu should work the same as for a single images, i.e. in 90 degree steps

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: EndeavourOS (Arch based) Kernel 6.15.4-arch2-1 (64-bit)
KDE Plasma Version: 6.4.2
KDE Frameworks Version: 6.15.0
Qt Version: 6.9.1

ADDITIONAL INFORMATION
GPU: AMD Radeon 6700XT