Bug 364615

Summary: after mass rename, ctrl+z (undo) should revert ALL folders/files names
Product: [Applications] dolphin Reporter: Patrick Silva <bugseforuns>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: elvis.angelaccio, kde
Priority: NOR    
Version: 17.12.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=381483
Latest Commit: Version Fixed In: 18.03.80

Description Patrick Silva 2016-06-21 21:37:06 UTC
Currently only ONE file/folder name is reverted.

Reproducible: Always

Steps to Reproduce:
1. select two or more folders/files
2. press F2 to mass rename and apply a new name to the files/folders
3. press ctrl+z to undo mass rename process

Actual Results:  
Only ONE folder/file name is reverted.

Expected Results:  
I think the correct behavior is revert ALL folder/file names.
If the user renames hundreds or thousands of folders/files to any wrong name a third app is required to revert all wrong names.
Comment 1 Patrick Silva 2017-06-18 14:48:48 UTC
Any progress with this issue?
Comment 2 Kai Uwe Broulik 2017-06-20 09:59:18 UTC
The way mass-rename is currently implemented is by spwaning a gazillion rename jobs (one for each file), so as far as KIO and KUndoManager is concerned, each task is separate. This also caused funny bugs where it would spawn hundrets of progress notifications. There needs to be a dedicated mass rename KCompositeJob that does all of this right.
Comment 3 Patrick Silva 2018-04-19 15:58:57 UTC
Solved in Dolphin 18.04. \o/