Bug 502487 - Auto-Rotate does not work correct when more than one image is selected in thumbnail view
Summary: Auto-Rotate does not work correct when more than one image is selected in thu...
Status: REPORTED
Alias: None
Product: digikam
Classification: Applications
Component: Thumbs-IconView (show other bugs)
Version: 8.7.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-06 15:20 UTC by Braun.Lot
Modified: 2025-04-13 14:06 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Braun.Lot 2025-04-06 15:20:34 UTC
related to 502200
If more than one image is selected in thumbnail view and auto-rotated (Ctrl/Shift up), the result is often wrong. (Tested with 5 and 100 images)
If only one image is selected, auto-rotate works fine.
This was tested with nightly build from Saturday 2025-04-05 with both tiff and jpg files.
Comment 1 Michael Miller 2025-04-06 15:27:20 UTC
(In reply to Braun.Lot from comment #0)
> related to 502200
> If more than one image is selected in thumbnail view and auto-rotated
> (Ctrl/Shift up), the result is often wrong. (Tested with 5 and 100 images)
> If only one image is selected, auto-rotate works fine.
> This was tested with nightly build from Saturday 2025-04-05 with both tiff
> and jpg files.

Thank you, Lothar.  I think this might be related to #502455.  I'll need Gilles or Maik's help to figure it out.

Cheers,
Mike
Comment 2 caulier.gilles 2025-04-11 18:13:42 UTC
Hi,

The 8.7.0 pre-release Windows installer from today have been rebuilt from
scratch with Qt 6.8.3, KDE 6.12, OpenCV 4.11 + CUDA support, Exiv2 0.28.5, ExifTool 13.27, ffmpeg 7, all image codecs updated to last version (jxl, avif, heif, aom, etc.).

Please try with this version to see if your problem still reproducible...

https://files.kde.org/digikam/

Thanks in advance
Best regards

Gilles Caulier
Comment 3 Braun.Lot 2025-04-13 14:06:56 UTC
Hi,
it seems somewhat improved, but not fixed.
I do start with an empty database and point digikam to an album with 100 tiff Files, all scans from color slides. All with the same orientation (landscape or perhaps none)
I select all with CTRL/A and run auto-rotate with Ctrl/Shift up. Some will be rotated but it seems quite random which one is and which not.
Pressing CTRL/Shift up again leads to other still random but somewhat better results.
Marking only 6 in a row gives good results, no matter if I start with a fresh database or after trying with CTRL/A.
Looks a bit like an optimisation for a specific number gone wrong (just guessing)

Also sometimes just one of any selected thumbnails changes orientation with every press of Ctl/Shift up, but not if it is the only selected thumbnail.

testet with digiKam-8.7.0-20250413T130156-Qt6-Win64.tar.xz