I am hijacking this thread because I think the CtrlArrow settings also broke something else.
When I copy a file into the current directory (using Shift-F5) and mix the Ctrl-Right and Ctrl-Shift-Right keys, the text in the copy dialog is suddenly rightaligned. It is not always the same behavior, but one situation is reproducable completely.
Filename to copy is "CvB VB-SE2009xxxx Offerte .doc"
Shift-F5 -> filename is selected
Home -> Caret is at the first position in the dialogbox
Ctrl-Left -> caret is at the V
Ctrl-Shift-Left -> select "VB-"
Now the filename is right aligned in the dialogbox!
TotalCommander 7.04a (Fresh inifile is no solution)
Setting CtrlArrow=0 works around this bug.
Unexpected caret movement in current directory
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Unfortunately it's not possible to fix this problem, sorry. The edit control doesn't allow to set both the cursor location and selection programmatically at the same time, and the selection is set when you use the Ctrl key (so the cursor position cannot be set).
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
That happens because you have enabled shifting of Right-to-left or Left-to-right readding direction in your Windows, probably by installing complex languages. Run intl.cpl and click the tab "Language" to verify.But what about the right aligning of the text?
The same happens if you right click the text box and choose "Right-to-left reading direction".
The global Windows shortcuts for this are:
Ctrl+LeftShift = Left-to-right reading direction
Ctrl+RightShift = Right-to-left reading direction
So it is a Windows feature, TC just happens to support it.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: Unexpected caret movement in current directory
I can confirm change in 7.5 to more expected behaviour.yyang wrote:Today I noticed an unexpected caret movement during text selection from the "current directory" field. Say my current directory was "D:\Tmp\test", and I just wanted to copy "\test". Then I highlighted the field, positioned the caret to the end (with nothing selected), and pressed "Ctrl-Shift-Left". After that "test" was selected. Then I pressed "Shift-Left", expecting to include the "" to the left of "test" into the selection, but it turned out the trailing "" was deselected!
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Ukraine's National Bank special bank account:
UA843000010000000047330992708
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact: