Solved [TC 10.51rc3] Wrong dir selected in Separate tree, when View Mode with Auto-run command is applied at startup
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50421
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC 10.51rc3] Wrong dir selected in Separate tree, when View Mode with Auto-run command is applied at startup
What happens is the following:
To apply cm_SrcAllFiles to the right panel, TC has to make that panel the active panel, otherwise cm_SrcAllFiles would be applied to the left panel (which is the default during startup). Activating the right panel shows and focuses its directory in the separate tree. I will prevent that from happening, but then the tree may not get updated when such a forced focus switch occurs later in the program.
To apply cm_SrcAllFiles to the right panel, TC has to make that panel the active panel, otherwise cm_SrcAllFiles would be applied to the left panel (which is the default during startup). Activating the right panel shows and focuses its directory in the separate tree. I will prevent that from happening, but then the tree may not get updated when such a forced focus switch occurs later in the program.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [TC 10.51rc3] Wrong dir selected in Separate tree, when View Mode with Auto-run command is applied at startup
2ghisler(Author)
I do not understand your explanations in part.
The marking of the Separate Tree as well as the View Mode with Auto Switch Mode works as expected - as stated above -
with these settings:
but NOT with this setting:
With StartupScreen=0 the following programme flow results for me:
I do not understand your explanations in part.
The marking of the Separate Tree as well as the View Mode with Auto Switch Mode works as expected - as stated above -
with these settings:
Code: Select all
[Configuration] StartupScreen=1 ) Turn splash screen at startup on/off (on=1, off=0)
- OR - )
[Configuration] StartupScreen= Not present )
Code: Select all
[Configuration] StartupScreen=0
- TC is started
- Focus + Marker
- focus in the left window (active) <ALWAYS!> ... -> c:\Users\
- marking in the Separate Tree on the "Program Files" folder (= inactive window)
This marker is FALSE because the marker should be on the "Users" folder (active window)!
- For c:\Users\ there is NO View Mode and NO Auto Switch Mode
Why should according to your statement
"otherwise cm_SrcAllFiles would be applied to the left panel (which is the default during startup)."
suddenly the command "cm_SrcAllFiles" used here?
- focus in the left window (active) <ALWAYS!> ... -> c:\Users\
- ghisler(Author)
- Site Admin
- Posts: 50421
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [TC 10.51rc3] Wrong dir selected in Separate tree, when View Mode with Auto-run command is applied at startup
It's a timing problem, the auto-run command is executed with a delay (via PostMessage).
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: [TC 10.51rc3] Wrong dir selected in Separate tree, when View Mode with Auto-run command is applied at startup
StartupScreen=0 is fixed.HISTORY.TXT wrote: 29.08.22 Release Total Commander 10.51 release candidate 4 (RC4)
28.08.22 Fixed: Separate tree: The path of the target panel could be shown as active in the tree
when using a view mode with auto-run commands (32/64)

Thanks!
Windows 11 Pro (x64) Version 21H2 (OS build 22000.918) | TC 10.51RC4 x64/x86
Re: [TC 10.51rc3] Wrong dir selected in Separate tree, when View Mode with Auto-run command is applied at startup
Confirmed fixed in TC 10.51rc4history.txt wrote:28.08.22 Fixed: Separate tree: The path of the target panel could be shown as active in the tree when using a view mode with auto-run commands (32/64)

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