Bug 457896 - In People view, the viewport doesn't scroll to the selected face photo thumbnail when arrow keys or PgUp/PgDn are used
Summary: In People view, the viewport doesn't scroll to the selected face photo thumbn...
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Faces-Workflow (other bugs)
Version First Reported In: 7.7.0
Platform: Appimage Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-14 21:57 UTC by Mike Morrison
Modified: 2022-08-15 10:40 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 7.8.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Morrison 2022-08-14 21:57:12 UTC
STEPS TO REPRODUCE
1. Go to People view. 
2. Select a person who has many confirmed face tags.
3. Click on one of the face thumbnails to select it.
4. Use the arrow keys or PgDn/PgUp to move the selection to other face thumbnails (other photos) of the same person.

OBSERVED RESULT
When the selection is outside the bounds of the viewport, the viewport does not scroll to keep the selected face thumbnail in view.

EXPECTED RESULT
I expected that the viewport would scroll to keep the selected thumbnail in view, as it currently does in the Albums and Dates views.

SOFTWARE/OS VERSIONS
Ubuntu 22.04
digiKam 7.7.0 AppImage
Also occurs in digiKam-7.8.0-20220729T111547-x86-64.appimage
KDE Frameworks Version: 5.95.0
Qt Version: 5.15.3
Comment 1 Maik Qualmann 2022-08-15 08:20:08 UTC
We had a merge request here to prevent items from "jumping" during face detection. Ok, the automatic scrolling of the view may only be suppressed when face detection is running.

Maik
Comment 2 Maik Qualmann 2022-08-15 10:40:10 UTC
Git commit c8d308a6a796907018ffc5a7c7f0af22abbfc33c by Maik Qualmann.
Committed on 15/08/2022 at 10:39.
Pushed by mqualmann into branch 'qt5-maintenance'.

only prevent the view from scrolling when face detection is running
FIXED-IN: 7.8.0

M  +2    -1    NEWS
M  +7    -1    core/app/items/views/digikamitemview.cpp
M  +5    -0    core/app/items/views/digikamitemview.h
M  +1    -0    core/app/items/views/digikamitemview_p.cpp
M  +1    -0    core/app/items/views/digikamitemview_p.h
M  +4    -0    core/app/views/sidebar/peoplesidebarwidget.cpp
M  +1    -1    core/app/views/sidebar/peoplesidebarwidget.h
M  +3    -0    core/app/views/stack/itemiconview.cpp

https://invent.kde.org/graphics/digikam/commit/c8d308a6a796907018ffc5a7c7f0af22abbfc33c