Version: r866511 (using Devel) OS: Linux Installed from: Compiled sources Steps to reproduce: 1) add a folder view plasmoid 2) Try to rename a file or a directory - select the file - press F2 - rename it This will opens an error message: "The file or folder /home/test/Documents/Misc does not exist." The path printed on the error message is the one of the old file name.
Created attachment 27668 [details] remove KFileItemDelegate::EventFilter from editor before (possibly) grabbing focus.
KFileItemDelegate::eventFilter emits commitData() and closeEditor() both on losing focus and pressing "Enter". Because focus remains on editor after "Enter" is pressed and in that case FolderView::closeEditor grabs it, FolderView is commiting (renaming) twice.
See also https://bugzilla.novell.com/show_bug.cgi?id=432728
Using the patch suggested by Sander, renaming files doesn't throw the error message. The patch is ok to me. I've updated it because the code of folderview has a bit changed.
Created attachment 28314 [details] modified patch for current trunk.
SVN commit 894444 by aseigo: patch by Sander Ernes to fix an errant warning dialog BUG:171959 M +1 -1 iconview.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=894444