STEPS TO REPRODUCE 1. have two files with the same extension, let's say two jpg files named file1.jpg and file2.jpg 2. try to remane file2.jpg to file1.jpg ("File already exists" dialog shows up) 3. type another filename, let's say "renamed", and press enter/return 4. OBSERVED RESULT Dolphin selects file1.jpg file after renaming EXPECTED RESULT Dolphin should select renamed.jpg file after renaming SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.18.1 KDE Frameworks Version: 5.67.0 Qt Version: 5.14.1
Can confirm with Dolphin 20.03.70.
A possibly relevant merge request was started @ https://invent.kde.org/system/dolphin/-/merge_requests/579
Git commit 567f2858acc260023c3e64112097f0dc1a39ea55 by Felix Ernst, on behalf of Amol Godbole. Committed on 01/08/2023 at 11:59. Pushed by felixernst into branch 'master'. Fix incorrect file selection after file rename forceUrlsSelection() needs to be called only when new name of renamed file does not exist. M +2 -2 src/views/dolphinview.cpp https://invent.kde.org/system/dolphin/-/commit/567f2858acc260023c3e64112097f0dc1a39ea55