After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 627110 - rename does not select the filename, but also the extension
rename does not select the filename, but also the extension
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: Views: List View
2.91.x
Other Linux
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
: 631664 634528 634979 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2010-08-17 08:11 UTC by Nicolò Chieffo
Modified: 2011-05-16 20:55 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
re-attached regression patch : renaming only filenames in list view. (4.36 KB, patch)
2010-11-14 16:28 UTC, ammonkey
rejected Details | Review
list-view: make sure not to select the extension on rename (2.11 KB, patch)
2011-02-25 20:13 UTC, Cosimo Cecchi
committed Details | Review

Description Nicolò Chieffo 2010-08-17 08:11:36 UTC
2.31.6-0ubuntu3.2
 *only using list view*

when I rename a file nautilus should only select the filename and leave the extension unselected, exactly as it's done in "icon view".

Unfortunately in "list view" when I hit "rename" the whole "filename.extension" is selected.

This is a regression from 2.30
Comment 1 Nicolò Chieffo 2010-09-15 08:56:31 UTC
Bug still present in 2.31.92
Comment 2 steubens 2010-09-21 08:12:01 UTC
just hit this after upgrading to the ubuntu 10.10 beta; and it's made a lot of work for me :[ (i rename a lot of files)
Comment 3 Christoph Pfeiffer 2010-09-26 09:24:59 UTC
Hi there,

this bug affects me too.
The feature of just selecting the filename by default and by hitting F2 two times selecting filename+extension is such a comfortable one!!

(also i would love to see it in 10.10 at the releaese.)
Comment 4 mwm 2010-10-05 20:58:22 UTC
OMG! I just tried to rename a file under ubuntu maverick 10.10 and it selects the whole filename (name + extension). this was such a neat feature for me!

Can you change it back? Can i configure it the way it was? Please?!
Comment 5 Cosimo Cecchi 2010-10-08 12:59:29 UTC
*** Bug 631664 has been marked as a duplicate of this bug. ***
Comment 6 Cosimo Cecchi 2010-10-08 13:00:14 UTC
Confirming, this is a regression we should fix.
Comment 7 mwm 2010-10-08 16:05:49 UTC
(In reply to comment #6)
> Confirming, this is a regression we should fix.

thank you so much!
Comment 8 C Bispham 2010-10-09 01:29:33 UTC
Thank you too.

I'm wondering, what are the odds this bug will be fixed in 2.32? I see the version number for Nautilus on this bug is 2.91, which leads me to believe the bug might only be addressed in Gnome 3.0?
Comment 9 mwm 2010-10-09 03:13:54 UTC
damn it :P
Comment 10 Cosimo Cecchi 2010-10-09 17:31:20 UTC
(In reply to comment #8)
> Thank you too.
> 
> I'm wondering, what are the odds this bug will be fixed in 2.32? I see the
> version number for Nautilus on this bug is 2.91, which leads me to believe the
> bug might only be addressed in Gnome 3.0?

No, the version field reflects the latest Nautilus version in which you can experience the bug, not the target release for the fix (which instead depends on how fast we can manage to fix it).
Comment 11 ammonkey 2010-10-18 08:38:56 UTC
Hello,

here's the patch reverting change for nautilus-2.32.0
with renaming only the filename in listview instead of the whole entry.

http://dl.dropbox.com/u/4135996/f2-renaming-only-filename-in-listview.diff
Comment 12 mwm 2010-10-18 14:41:23 UTC
thank you!
Comment 13 Cosimo Cecchi 2010-11-12 10:31:41 UTC
*** Bug 634528 has been marked as a duplicate of this bug. ***
Comment 14 Omer Akram 2010-11-14 16:05:32 UTC
ammonkey the link is dead
Comment 15 ammonkey 2010-11-14 16:28:32 UTC
Created attachment 174444 [details] [review]
re-attached regression patch : renaming only filenames in list view.
Comment 16 Cosimo Cecchi 2010-11-22 19:06:48 UTC
*** Bug 634979 has been marked as a duplicate of this bug. ***
Comment 17 Y-H 2011-01-21 04:20:36 UTC
Bug still present in 2.32.2.1
Comment 18 Cosimo Cecchi 2011-02-25 20:13:52 UTC
This is fixed in master now.

The following fix has been pushed:
5e2edee list-view: make sure not to select the extension on rename
Comment 19 Cosimo Cecchi 2011-02-25 20:13:59 UTC
Created attachment 181948 [details] [review]
list-view: make sure not to select the extension on rename

Delay calling gtk_editable_select_region() until after
gtk_tree_view_set_cursor()
Comment 20 steubens 2011-02-27 06:43:25 UTC
bugs are such a dry and a matter of fact sort of place, but i am grateful for having this fixed. thank you
Comment 21 Andrew 2011-05-16 20:23:05 UTC
This bug is back. In Natty when I hit "rename" the whole "filename.extension"
is selected.
Comment 22 mwm 2011-05-16 20:43:36 UTC
over nautlius-elementary it doesn't happen anymore.