Bug 433560 - When using Dolphin for bulk rename, Dolphin complains if some files don't change names
Summary: When using Dolphin for bulk rename, Dolphin complains if some files don't cha...
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 20.12.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-24 21:24 UTC by nyanpasu64
Modified: 2021-02-24 21:24 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nyanpasu64 2021-02-24 21:24:38 UTC
SUMMARY
If I select multiple files in Dolphin and rename them all with numeric names, and some numeric names match the existing file names, I get a popup "This action would overwrite (file) with itself" and won't let me keep the name.

STEPS TO REPRODUCE
1. Open a folder with files (eg. 1.png, 3.png, and 4.png).
2. Select all and press F2 to open the rename popup.
3. Rename them to # (the expected result is 1.png, 2.png, and 3.png).

OBSERVED RESULT
For every file whose name is unchanged, I get a popup: "This action would overwrite (file) with itself". The only way to perform a bulk rename is to rename all the files twice (first to _# so all files are renamed, then to # so files have the correct name).

EXPECTED RESULT
When performing bulk renames (and possibly individual renames), no-op renames are ignored.

SOFTWARE/OS VERSIONS
Operating System: Garuda Linux
KDE Plasma Version: 5.21.1
KDE Frameworks Version: 5.79.0
Qt Version: 5.15.2
Kernel Version: 5.10.15-120-tkg-bmq
OS Type: 64-bit
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-6200U CPU @ 2.30GHz
Memory: 7.6 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 520

ADDITIONAL INFORMATION