File/Folder rename does not correctly highlight the name [CLOSED]

Questions, glitches, bugs and crashes
Locked
peterdian
Posts: 25
Joined: Mon Aug 14, 2023 2:10 pm

File/Folder rename does not correctly highlight the name [CLOSED]

Post by peterdian » Mon Dec 25, 2023 3:46 pm

When renaming file or folder, it does not correctly highlight the name, it stops at the first dot "." in the name, it looks like NC can't properly detect the extensions.

User avatar
mike
Posts: 1060
Joined: Thu Jul 16, 2015 5:35 am
Location: Exeter, UK

Re: File/Folder rename does not correctly highlight the name

Post by mike » Sun Jan 07, 2024 6:03 pm

I can't reproduce it locally - could you provide more information?
Specific steps would be great.

peterdian
Posts: 25
Joined: Mon Aug 14, 2023 2:10 pm

Re: File/Folder rename does not correctly highlight the name

Post by peterdian » Sun Jan 07, 2024 7:11 pm

Yes, no problem. E.g. create folder "folder.1.name this is folder" and when trying to rename the folder, it will only select the part "folder.1" and the rest is not highlighted:) Image in the attachment:)
Screen Shot 2024-01-07 at 20.08.24.png
Screen Shot 2024-01-07 at 20.08.24.png (31.93 KiB) Viewed 2957 times

User avatar
mike
Posts: 1060
Joined: Thu Jul 16, 2015 5:35 am
Location: Exeter, UK

Re: File/Folder rename does not correctly highlight the name

Post by mike » Sun Jan 07, 2024 11:06 pm

That's the intended behaviour - NC decomposed "folder.1.name this is folder" as filename="folder.1" and extension="name this is folder".
Upon renaming NC highlights filenames without extensions since usually they aren't changed.

peterdian
Posts: 25
Joined: Mon Aug 14, 2023 2:10 pm

Re: File/Folder rename does not correctly highlight the name

Post by peterdian » Mon Jan 08, 2024 7:26 am

Thank you for the information, but I don't understand :shock: Folders does not have extensions, since it's folder, at least in my understanding, so it's really confusing for me. Would it be possible to have an option in the Preferences to always select the whole file name including extension, for example? That might help in this case :)

User avatar
mike
Posts: 1060
Joined: Thu Jul 16, 2015 5:35 am
Location: Exeter, UK

Re: File/Folder rename does not correctly highlight the name

Post by mike » Mon Jan 08, 2024 7:59 pm

Well that is incorrect - directories absolutely can have extensions and MacOS uses them a lot.
".app" is the most prominent example, see https://en.wikipedia.org/wiki/Bundle_(macOS).

peterdian
Posts: 25
Joined: Mon Aug 14, 2023 2:10 pm

Re: File/Folder rename does not correctly highlight the name [CLOSED]

Post by peterdian » Mon Jan 08, 2024 8:06 pm

Thank you, every day I learn something new :)

Locked