Bug 174721

Summary: Dolphin doesn't refresh current view after renaming a file
Product: [Applications] dolphin Reporter: Raul Moratalla <raul.moratalla>
Component: generalAssignee: David Faure <faure>
Status: RESOLVED DUPLICATE    
Severity: normal CC: peter.penz19
Priority: NOR    
Version: 16.12.2   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Screenshot before drag and drop the files
Screenshot after moving the files into the folder

Description Raul Moratalla 2008-11-09 16:18:13 UTC
Version:           1.1 (using 4.1.3 (KDE 4.1.3) "release 52.2", KDE:KDE4:Factory:Desktop / openSUSE_11.0)
Compiler:          gcc
OS:                Linux (i686) release 2.6.25.18-0.2-default

Hi, these are the steps to reproduce the problem.

- Create a hidden file in any folder: .test-1
- Create a file in same folder: test-2
- Rename file test-2 to .test-1
- A dialog appears and I want to overwrite the existing file .test-1 with the new one.
- After renaming the file dolphin doesn't refresh the current view, I still view the file "test-2".

Should dolphin refresh the view after making these changes?
Comment 1 Peter Penz 2008-11-09 19:03:48 UTC
Thanks for the description, I could reproduce this issue (KDE 4.1.x + trunk). Yes, after renaming the item an automical refresh should happen.

@David: this looks like a KDirLister/KDirModel issue, may I reassign this to you?
Comment 2 Raul Moratalla 2008-11-10 11:01:35 UTC
Created attachment 28448 [details]
Screenshot before drag and drop the files
Comment 3 Raul Moratalla 2008-11-10 11:03:10 UTC
Created attachment 28449 [details]
Screenshot after moving the files into the folder
Comment 4 David Faure 2008-11-27 09:34:19 UTC
Can be reproduced even without the destination file existing already. Simply renaming foo to .foo trigger this. Unit test added, currently debugging KDirLister.
Comment 5 David Faure 2008-11-27 10:01:22 UTC

*** This bug has been marked as a duplicate of bug 164974 ***