Bug 359595

Summary: Don't select filename extension when invoking rename for a file
Product: [Plasma] plasmashell Reporter: Eike Hein <hein>
Component: FolderAssignee: Eike Hein <hein>
Status: RESOLVED FIXED    
Severity: wishlist CC: painless.roaster, plasma-bugs
Priority: NOR    
Version: master   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Eike Hein 2016-02-20 07:47:25 UTC
Renaming a file currently pre-selects the entire filename. Dolphin omits the file extension, if any. Folder View's behavior should match.

Reproducible: Always
Comment 1 Eike Hein 2016-02-20 07:47:58 UTC
Based on bug 359457. CC'ing original reporter.
Comment 2 Eike Hein 2016-02-22 07:44:55 UTC
Git commit a4541f6ea9cb36fc45eb50b606c15b099ce50157 by Eike Hein.
Committed on 22/02/2016 at 07:44.
Pushed by hein into branch 'master'.

Try to omit file extension from selection when opening rename editor.

Behavior should match Dolphin.

M  +1    -1    containments/desktop/package/contents/ui/FolderView.qml
M  +28   -0    containments/desktop/plugins/folder/foldermodel.cpp
M  +2    -1    containments/desktop/plugins/folder/foldermodel.h

http://commits.kde.org/plasma-desktop/a4541f6ea9cb36fc45eb50b606c15b099ce50157