Bug 464818

Summary: Time view keeps track of the current image based on its index rather than by the image itself
Product: [Applications] Koko Reporter: Jack Hill <jackhill3103>
Component: GeneralAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: CONFIRMED ---    
Severity: normal CC: nate
Priority: NOR Keywords: usability
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jack Hill 2023-01-25 18:03:50 UTC
SUMMARY
E.g. suppose there are 5 images in the Time view and I'm looking at image 3. I add an image that appears between image 2 and 3. So now the new image is at index 3 and the original image I was looking at is on index 4.
Koko decides to stay on index 3 and shows me the new image. IMO Koko should change to index 4 and keep showing the image I was originally looking at.

STEPS TO REPRODUCE
1. Go into Time view
2. Go into a subview
3. Click on an image
4. In Dolphin, make a copy of the image and rename it so that it appears just before the original image (e.g. rename "my cat" to "my ca"

OBSERVED RESULT
Koko recognises that a new file has been added, and switches to the new image.

EXPECTED RESULT
Koko should stay on the image it was already showing

SOFTWARE/OS VERSIONS
Koko: 22.11 built from source
Operating System: openSUSE Tumbleweed 20230123
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.102.0
Qt Version: 5.15.8
Kernel Version: 6.1.7-1-default (64-bit)
Graphics Platform: X11

ADDITIONAL INFORMATION