Code: Select all
[em_OpenDirInNewTabOtherAndSwitch]
button=wcmicons.dll
cmd=cm_OpenDirInNewTabOther, cm_FocusTrg, cm_SwitchToNextTab, CM_WAIT 200, cm_FocusTrg
UPD: With TabSwitchMode=1 this bug doesn't happen even without added delay, it only occurs when panels update after Tab release (TabSwitchMode=1).
Steps to reproduce:
[*] Add em_OpenDirInNewTabOtherAndSwitch (code above) to your usercmd.ini
[*] Open C:\ in your left panel and D:\ in right panel.
[*] Put your cursor in left panel to any folder, like Users folder.
[*] Execute em_OpenDirInNewTabOtherAndSwitch with a hotkey or button, or in any other way.
Expected behaviour:
[*] Left panel remains active with your cursor still on Users folder, but on the right panel there's a new foreground tab with C:\Users folder opened.
Actual result:
[*] Left panel remains active with your cursor still on Users folder, on the right panel there's a new foreground tab named Users, but file list and current path are not updated to reflect the new tab (still showing D:\ as was initially).
[*] In fact, even if you Reread the source, file list will still show D:\ and tab name will change back (I was expecting that after rereading the source file list and current path will update to C:\Users, because it's in the tab name).
If you can't reproduce it by following steps above, try to remove CM_WAIT 200 from the em_OpenDirInNewTabOtherAndSwitch command or change the delay to slammer value.
Using TC 9.51 (64 bit) on Windows 10 x64 LTSC (1809).