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 773938 - Renaming folder whose name has a "." considers the "." as file extension separator
Renaming folder whose name has a "." considers the "." as file extension sepa...
Status: RESOLVED DUPLICATE of bug 759718
Product: nautilus
Classification: Core
Component: File and Folder Operations
3.22.x
Other Linux
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-11-04 11:19 UTC by Kaartic
Modified: 2016-11-04 11:22 UTC
See Also:
GNOME target: ---
GNOME version: 3.21/3.22


Attachments
Screen shot showing the part of name before "." selected (11.42 KB, image/png)
2016-11-04 11:19 UTC, Kaartic
Details

Description Kaartic 2016-11-04 11:19:02 UTC
Created attachment 339110 [details]
Screen shot showing the part of name before "." selected

When trying to rename a folder that has a "." in the middle of it's name, nautilus considers the "." as a file extension separator and selects only the portion of the name before the "." (see attached screen shot) for replacing. As folders don't have file extensions it would be better if it selected the whole name instead of the portion of the name before the last ".". 

This is not the case when the "." is in the beginning of the name (hidden folder) or in the end of the name.

Steps to reproduce
==================
1. Create a folder with a "." in the middle of the name
2. Select the folder and click 'F2' / select rename option from context menu.

Expected behaviour
==================
Complete file name is selected for replacement

Actual behaviour
================
Only the portion of the name before the last "." is selected for replacement
Comment 1 Ernestas Kulik 2016-11-04 11:22:12 UTC

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