! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Handle renaming of directories differently
Status:
CLOSED: FIXED
Severity:
trivial

Comments

Description Mathias Brodala 2007-03-25 21:50:04 CEST
User-Agent:       Opera/9.10 (X11; Linux i686; U; de)
Build Identifier: 

If you want to rename a file, only the content before the last dot within the filename gets selected and that’s great for pretty much any file.

But it is pretty much useless for directories which often contain dots too; Thunar should select the whole filename if the object to be renamed is a directory.

Reproducible: Always

Steps to Reproduce:
1. Select directory
2. Call the renamer dialog

Actual Results:  
Only content before the last dot is directly selected

Expected Results:  
Everything should be selected
Comment 1 Benedikt Meurer editbugs 2007-05-09 17:37:59 CEST
Created attachment 1128 
Possible patch

This way?
Comment 2 Mathias Brodala 2007-08-15 22:20:23 CEST
(In reply to comment #1)
> Created an attachment (id=1128) [details]
> Possible patch
> 
> This way?

Sorry for the late answer. I never got a notification about your reply and just stumbled over it today.

The patch works just as I wished for, so please commit it.
Comment 3 Benedikt Meurer editbugs 2007-08-17 12:07:56 CEST
Committed revision 25987.

2007-08-17	Benedikt Meurer <benny@xfce.org>

	* thunar/thunar-standard-view.c: Preselect the complete filename when
	  renaming a folder. Bug #3057.

Bug #3057

Reported by:
Mathias Brodala
Reported on: 2007-03-25
Last modified on: 2009-07-17

People

Assignee:
Jannis Pohlmann
CC List:
0 users

Version

Version:
0.5.0rc2

Attachments

Possible patch (1.56 KB, patch)
2007-05-09 17:37 CEST , Benedikt Meurer
no flags

Additional information