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 140188 - No auto-rename focus on second or third 'unnamed' new folder
No auto-rename focus on second or third 'unnamed' new folder
Status: RESOLVED DUPLICATE of bug 94250
Product: nautilus
Classification: Core
Component: File and Folder Operations
0.x.x [obsolete]
Other All
: Normal minor
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
: 133617 149098 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-04-15 18:05 UTC by Martin Wehner
Modified: 2004-12-29 17:49 UTC
See Also:
GNOME target: ---
GNOME version: 2.7/2.8


Attachments
Proposed Patch (873 bytes, patch)
2004-04-15 18:07 UTC, Martin Wehner
needs-work Details | Review

Description Martin Wehner 2004-04-15 18:05:57 UTC
1. create a new folder in the icon view (leave default name)
2. create another folder (default_name." 1")

You won't get a rename focus in step 2, because vfs_status won't be GNOME_VFS_OK
but GNOME_VFS_ERROR_FILE_EXISTS. This leads to done_callback called with NULL as
new_uri.
Comment 1 Martin Wehner 2004-04-15 18:07:30 UTC
Created attachment 26695 [details] [review]
Proposed Patch
Comment 2 Martin Wehner 2004-04-16 13:35:59 UTC
Comment on attachment 26695 [details] [review]
Proposed Patch

I had a short discussion about this with Alex:
The return value in this case shouldn't be GNOME_VFS_ERROR_*; the file got
created, but with a different name than intended. This needs fixing in
gnome-vfs though.
Comment 3 Martin Wehner 2004-05-16 22:41:05 UTC
*** Bug 133617 has been marked as a duplicate of this bug. ***
Comment 4 Martin Wehner 2004-05-16 22:44:37 UTC
Kaveri wrote in #133617:

I am running Gnome community head build(2.5.2), dated 28th Jan 2004.

1. Open nautilus window say home folder
2. Select File -> Create Folder
3. A new folder "untitled folder" will be created and the user is given an 
option to rename the folder
4. Select the same select File -> Create Folder option some 2-3 times

Observation : The user is not asked for renaming the subsequent new folder 
which are created as "untitled folder 1", "untitled folder 2" and so on. 
If the user is in list view or the nautilus window is very small, the 
newly created folders will not be visible and the user will not know the 
name of the newly created folder's name, until he is conversant with the 
nomenclature nautilus uses. The user has to explicitly select the folder 
and rename the same.

Expected Behaviour: Nautilus should prompt the user for renaming the 
folder. 

This works fine with creation of new files. Everytime a new file is 
created the user is given an option to rename the same.
Comment 5 Olav Vitters 2004-08-02 20:55:24 UTC
*** Bug 149098 has been marked as a duplicate of this bug. ***
Comment 6 gnome.org 2004-08-02 21:00:48 UTC
For me, the folder _never_ gets focus even for the first one if I am in list view.
Comment 7 Elijah Newren 2004-12-29 17:49:46 UTC

*** This bug has been marked as a duplicate of 94250 ***