Bug 507034 - Weird behavior when renaming multiple files
Summary: Weird behavior when renaming multiple files
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: general (other bugs)
Version First Reported In: 25.04.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-07-14 16:50 UTC by y9ly4z091
Modified: 2025-07-14 16:50 UTC (History)
1 user (show)

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


Attachments
The rename window with the wrong preview (23.97 KB, image/png)
2025-07-14 16:50 UTC, y9ly4z091
Details

Note You need to log in before you can comment on or make changes to this bug.
Description y9ly4z091 2025-07-14 16:50:37 UTC
Created attachment 183228 [details]
The rename window with the wrong preview

SUMMARY
When using "Replace text" option in the pop-up window for renaming multiple files inputting the file extension in the "Replacing" text box leads to weird interactions. 

STEPS TO REPRODUCE
1. Open dolphin to a folder with two or more files and select them
2. select rename in the context menu and "replace text" in the drop down menu
3. input file extension in the "Replacing" text box

OBSERVED RESULT
when replacing ".json" in "foo.json" with ".bar" displays "foo.bar.json" in the preview. After clicking "Rename" it doesn't rename anything.

EXPECTED RESULT
All occurrences of the text in "Replacing" text box get properly replaced with the contents of "With:" textbox 

SOFTWARE/OS VERSIONS
Dolphin version: dolphin 25.04.3
Operating System: EndeavourOS 
KDE Plasma Version: 6.4.2
KDE Frameworks Version: 6.16.0
Qt Version: 6.9.1
Kernel Version: 6.15.6-arch1-1 (64-bit)
Graphics Platform: Wayland


ADDITIONAL INFORMATION