TC 9.50b5 | Cursor not moved to a newly created dir with trailing dot sign in the dir name
Moderators: white, Hacker, petermad, Stefan2
TC 9.50b5 | Cursor not moved to a newly created dir with trailing dot sign in the dir name
Usually, when creating a new dir, the cursor will move to that dir on the list. It will also move if the dir name already exists: it will move after the error message dialog box.
However (description of the bug), when creating a directory with a trailing dot sign, the cursor stays on the same dir that as before.
It does not matter how many separating dot signs will be in the name of the newly created dir, but as long as the last character is a dot sign, this is exactly the outcome.
The issue occurs when creating dir on the other pane (Shift+F7).
I am using Win10x64 with TC 9.50b5.
However (description of the bug), when creating a directory with a trailing dot sign, the cursor stays on the same dir that as before.
It does not matter how many separating dot signs will be in the name of the newly created dir, but as long as the last character is a dot sign, this is exactly the outcome.
The issue occurs when creating dir on the other pane (Shift+F7).
I am using Win10x64 with TC 9.50b5.
- ghisler(Author)
- Site Admin
- Posts: 48077
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: TC 9.50b5 | Cursor not moved to a newly created dir with trailing dot sign in the dir name
The dot gets removed by Windows because it's not allowed.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: TC 9.50b5 | Cursor not moved to a newly created dir with trailing dot sign in the dir name
I see. That is insignificant to me. The side effect of this is that the cursor in TC does not move. Will that be fixed?
Re: TC 9.50b5 | Cursor not moved to a newly created dir with trailing dot sign in the dir name
Why should the cursor moved to an entry which is not allowed at all ?
Nothing to fix
Windows 11 Home x64 Version 23H2 (OS Build 22631.3447)
TC 11.03 x64 / x86
Everything 1.5.0.1372a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
QAP 11.6.3.2 x64
TC 11.03 x64 / x86
Everything 1.5.0.1372a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
QAP 11.6.3.2 x64
Re: TC 9.50b5 | Cursor not moved to a newly created dir with trailing dot sign in the dir name
Horst.Epp,
The entry is created, just without the dot at the end. Try it out yourself:
F7 - Test - Enter -> cursor is moved to the newly created folder "Test"
F7 - Test. - Enter -> cursor is not moved to the newly created folder "Test"
Roman
The entry is created, just without the dot at the end. Try it out yourself:
F7 - Test - Enter -> cursor is moved to the newly created folder "Test"
F7 - Test. - Enter -> cursor is not moved to the newly created folder "Test"
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
Re: TC 9.50b5 | Cursor not moved to a newly created dir with trailing dot sign in the dir name
I know, but for me there is still no need to react to such illegal entries in any normal way.
Why shouild I enter a trailing dot when this can never be stored ?
Windows 11 Home x64 Version 23H2 (OS Build 22631.3447)
TC 11.03 x64 / x86
Everything 1.5.0.1372a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
QAP 11.6.3.2 x64
TC 11.03 x64 / x86
Everything 1.5.0.1372a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
QAP 11.6.3.2 x64
Re: TC 9.50b5 | Cursor not moved to a newly created dir with trailing dot sign in the dir name
It may be a typo.
A cursor jump to a foder with different name which has been created after such operation will let user be aware of a fact that folder creation happened, and it will be faster for user to do a further action on it (leave, rename, delete) if it will have a focus after creation.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Re: TC 9.50b5 | Cursor not moved to a newly created dir with trailing dot sign in the dir name
Horst.Epp,
Everything DrShark wrote.
Roman
Everything DrShark wrote.
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
Re: TC 9.50b5 | Cursor not moved to a newly created dir with trailing dot sign in the dir name
If I make a dir with a trailing dot on my FTP-sites, TC places the curser on that dir (which actially do have a dot).
TC tries to go to the dir that the user orders - it is not TC's fault that the OS disregards the order for the local filesystem, so there is no matching dir to go to after the creation.
But of course as a help to the thick-fingered user, TC could be made to recognize that the OS is Windows and the current dir is local and remove the trailing dot before dir creation.
TC tries to go to the dir that the user orders - it is not TC's fault that the OS disregards the order for the local filesystem, so there is no matching dir to go to after the creation.
But of course as a help to the thick-fingered user, TC could be made to recognize that the OS is Windows and the current dir is local and remove the trailing dot before dir creation.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: TC 9.50b5 | Cursor not moved to a newly created dir with trailing dot sign in the dir name
I second Hacker and DrShark's explanations.
Consistency is key.
The dot is removed by Windows, as Christian said, and also this is the behavior if you do it in Explorer.
TC should have a behavior as close as possible to the OS, which in that particular "dot" case, it does.
In Win, there is already a placeholder with "New folder" name ready (if a dir with that "special" name already exists it will add " (X)" suffix where X starts with 2). Once you decided to create a folder, it is created even if you press ESC.
Personally I hate that. Objectively, dialog box is more user-friendly than first creating the dir and then letting the user change it.
In TC, this whole process is conducted throught the dialog box.
Consistency is key.
The dot is removed by Windows, as Christian said, and also this is the behavior if you do it in Explorer.
TC should have a behavior as close as possible to the OS, which in that particular "dot" case, it does.
In Win, there is already a placeholder with "New folder" name ready (if a dir with that "special" name already exists it will add " (X)" suffix where X starts with 2). Once you decided to create a folder, it is created even if you press ESC.
Personally I hate that. Objectively, dialog box is more user-friendly than first creating the dir and then letting the user change it.
In TC, this whole process is conducted throught the dialog box.