| Summary: | Dolphin selects wrong file after renaming via "File already exists" window | ||
|---|---|---|---|
| Product: | [Applications] dolphin | Reporter: | Patrick Silva <bugseforuns> |
| Component: | general | Assignee: | Dolphin Bug Assignee <dolphin-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | CC: | dolphin-bugs-null, mail, nate |
| Priority: | NOR | ||
| Version First Reported In: | 23.04.0 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/system/dolphin/-/commit/567f2858acc260023c3e64112097f0dc1a39ea55 | Version Fixed/Implemented In: | 23.12 |
| Sentry Crash Report: | |||
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 |
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