Bug 179806 - Pressing Delete while editing a filename in Folder View deletes file
Summary: Pressing Delete while editing a filename in Folder View deletes file
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Unspecified
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-06 15:57 UTC by Georg Wittenburg
Modified: 2009-01-06 17:17 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!