Bug 328262

Summary: rename bug if you cancel when folder already exists
Product: [Applications] dolphin Reporter: Unknown <null>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: emmanuelpescosta099
Priority: NOR    
Version: 4.11.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
URL: http://www.youtube.com/watch?v=R_HwaqSKvH4
Latest Commit: Version Fixed In: 4.11.5

Description Unknown 2013-11-30 20:50:41 UTC
see youtube video (URL)

Reproducible: Always

Steps to Reproduce:
1. Creat Folder 1 "Bar"
2. Create Folder 2 "Foo"
3. Rename Folder 2 into "Foo" and press Enter
4. Cancel the question
5. Now we have 2 Folders with the same name
6. Both paths are ./Foo
Comment 1 Emmanuel Pescosta 2013-11-30 21:21:00 UTC
Thank for the bug report! I can reproduce this problem.

Review Request: https://git.reviewboard.kde.org/r/114228/
Comment 2 Emmanuel Pescosta 2013-12-03 18:03:03 UTC
Git commit 385e5fef2c00cc978352f50b46a67bd138743d6a by Emmanuel Pescosta.
Committed on 03/12/2013 at 18:00.
Pushed by emmanuelp into branch 'KDE/4.11'.

Fix Bug 328262 - rename bug if you cancel when folder already exists

Only connect the renamingFailed signal if there is no item with the new name in the model yet.
FIXED-IN: 4.11.5
REVIEW: 114228

M  +3    -1    dolphin/src/views/dolphinview.cpp

http://commits.kde.org/kde-baseapps/385e5fef2c00cc978352f50b46a67bd138743d6a