Bug 179806

Summary: Pressing Delete while editing a filename in Folder View deletes file
Product: [Plasma] plasma4 Reporter: Georg Wittenburg <georg.wittenburg>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Unspecified   
Latest Commit: Version Fixed In:

Description Georg Wittenburg 2009-01-06 15:57:40 UTC
Version:            (using Devel)
Installed from:    Compiled sources

Pressing Delete while editing a filename after pressing F2 in a FolderView (in my case with FolderView as the desktop activity type) moves the file to the trash rather than just deleting the next character in the filename. Deleting characters from a filename using Backspace works fine.

This applies to 4.1.86 using unofficial Debian packages from kde42.debian.net at version 4:4.1.86+svn902162-0r1.
Comment 1 Aaron J. Seigo 2009-01-06 17:09:26 UTC
SVN commit 906681 by aseigo:

don't delete files when editting is going on; the root problem appears to be focus vs action issues in QGraphicsScene/View, but at least this prevents destructive behaviour (though Delete still doesn't work and won't until the focus issues are fixed in Qt)
BUG:179806


 M  +7 -0      folderview.cpp  
 M  +7 -0      iconview.cpp  
 M  +1 -0      iconview.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=906681
Comment 2 Georg Wittenburg 2009-01-06 17:17:14 UTC
Thanks, Aaron!