Bug 474047 - When an album is refreshed in thumbnail view, the focus goes to the previously selected item
Summary: When an album is refreshed in thumbnail view, the focus goes to the previousl...
Status: REPORTED
Alias: None
Product: digikam
Classification: Applications
Component: Albums-IconView (other bugs)
Version First Reported In: 8.2.0
Platform: Ubuntu Linux
: NOR minor
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-02 04:02 UTC by MarcP
Modified: 2024-10-06 13:08 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description MarcP 2023-09-02 04:02:35 UTC
SUMMARY
This is something I have been noticing for a few months.

In Thumbnail view, when a file is selected (there's a little dotted line around it), and you scroll somewhere else in that view, if that view is refreshed (e.g. a new picture is imported, or a new face is detected), the view automatically scrolls back to the selected picture. 

This also happens when working on the People panel. When a new panel for someone is found, the view scrolls back to the previously selected item.

This can be quite annoying because it makes you lose your focus. 

Let me know if you need more details.

STEPS TO REPRODUCE
1. Go to thumbnail view, or People view.
2. Select one of the pictures.
3. Move far away from that picture (but to not select anything else)
4. Import some new pictures (or scan faces for the active person).

OBSERVED RESULT
The focus of the view goes to the previously selected item.

EXPECTED RESULT
The focus should stay wherever the user is at any given moment.

SOFTWARE/OS VERSIONS
digiKam-8.2.0-20230724T132443-x86-64.appimage
Linux/KDE Plasma: Kubuntu 22.04 LTE
(available in About System)
KDE Plasma Version: 5.24.7
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.5
Comment 1 Maik Qualmann 2024-10-06 09:16:14 UTC
*** Bug 494199 has been marked as a duplicate of this bug. ***
Comment 2 MarcP 2024-10-06 13:08:11 UTC
I'm not sure if the ticket that was market as a duplicate is in fact a duplicate. 

This behavior I described is not exclusive to the People view and/or when tagging faces. It also appears when appying regular tags to pictures. Sometimes Digikam will lose the focus after applying a tag and end up in completely different album. Then you need to manually go back to the initial album again. I'll see if I can do something to reproduce it 100% of the time, but it's a behavior that was introduced at some point in the 8.x branch, that wasn't present before.