Bug 359595 - Don't select filename extension when invoking rename for a file
Summary: Don't select filename extension when invoking rename for a file
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Folder (show other bugs)
Version: master
Platform: Other Linux
: NOR wishlist
Target Milestone: 1.0
Assignee: Eike Hein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-20 07:47 UTC by Eike Hein
Modified: 2016-02-22 07:44 UTC (History)
2 users (show)

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 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