Bug 460746 - Face rectangle description boxes "fly out of the view" when zooming an image with many faces
Summary: Face rectangle description boxes "fly out of the view" when zooming an image ...
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Faces-Workflow (show other bugs)
Version: 7.9.0
Platform: Appimage Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-20 07:54 UTC by Jens
Modified: 2022-10-21 17:30 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jens 2022-10-20 07:54:27 UTC
SUMMARY: see $SUBJECT

STEPS TO REPRODUCE
1. Find photo with lots of faces, most of them unknown/unconfirmed
2. Preview photo and set "show faces" to see all rectangles. Many of them overlap so it is not possible to edit all.
3. Press Ctrl+"." to zoom to 100% to better distinguish the faces.

OBSERVED RESULT
All text boxes below the face rectangles "fly" out of the visible area. Only the boxes are left. It is not possible to edit the face tags.

EXPECTED RESULT
Text boxes should not fly away but stay with the face rectangle.
Also, (IMHO) while this animation is nice, it is too slow. On my QHD screen this takes >2 seconds during which Digikam is frozen.

SOFTWARE/OS VERSIONS:
KDE Neon 20.04, Digikam appimage 2022-10-16 64bit
Comment 1 Maik Qualmann 2022-10-20 09:30:17 UTC
This is normal behavior of a scrolling view, slide the scrollbar to bring the box into view. Alternatively, leave all faces unchecked and use the mouse over function to reveal a face rectangle.

Maik
Comment 2 Maik Qualmann 2022-10-20 11:04:19 UTC
Here's a video with an extreme number of face regions and how the text boxes try to line up automatically so as not to overlap each other.

https://drive.google.com/file/d/1CmjGVygb7SeHbzDGU_S597bBp3IroRcm/view?usp=sharing

Maik
Comment 3 Jens 2022-10-20 21:10:25 UTC
That looks correct, but it is not what I observed.
I will send you a mp4 file via private mail (because it contains people I didn't ask whether they would want their images to be published on the internet) showing my issue.
Comment 4 Maik Qualmann 2022-10-21 16:37:25 UTC
Git commit bee74246f1ee04f40bae961a7b54fda5a2356332 by Maik Qualmann.
Committed on 21/10/2022 at 16:36.
Pushed by mqualmann into branch 'qt5-maintenance'.

include graphics scene size changes in widget update
FIXED-IN: 7.9.0

M  +2    -1    NEWS
M  +7    -4    core/libs/widgets/graphicsview/regionframeitem.cpp

https://invent.kde.org/graphics/digikam/commit/bee74246f1ee04f40bae961a7b54fda5a2356332
Comment 5 Jens 2022-10-21 17:30:02 UTC
Thank you :-)