Bug 501730

Summary: Dolphin teleports the scrolling to where the replaced files were while under Sorting:Newest First
Product: [Applications] dolphin Reporter: Fernando M. Muniz <fernandommuniz>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: dolphin-bugs-null
Priority: NOR    
Version First Reported In: 24.12.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Dolphin teleporting to the replaced file doesn't make sense outside of Sorting by Name.

Description Fernando M. Muniz 2025-03-19 04:51:02 UTC
1- Have a folder with many files sufficiently enough to gain a scrollbar.
2- Sort the files with Newest First.
3- Replace an old file with an identical new copy.

Result:
Dolphin teleports to where the replaced files would have been, which makes no sense outside of the default ABC sorting.

Expected results:
Dolphin should teleport to the replacements when under the sorting of Newest First, to avoid teleporting to a seemingly random place.
Comment 1 Fernando M. Muniz 2025-03-19 04:57:28 UTC
I think it can be reproduced by creating tons of empty text files, changing the file sorting into Newest First, then replacing an older one with a new one with the same name.
Comment 2 Fernando M. Muniz 2025-03-19 06:01:49 UTC
Created attachment 179568 [details]
Dolphin teleporting to the replaced file doesn't make sense outside of Sorting by Name.

Also, teleporting to the new file wouldn't affect Sorting by Name because both files would be in the same location.