[TC 9.0a x64] Switch view mode on panel, freeze the other

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

[TC 9.0a x64] Switch view mode on panel, freeze the other

Post by *ts4242 »

How to reproduce:

1- Start TC 9.0a x64 with the following settings

Code: Select all

[Configuration]
UseNewDefFont=1
firstmnu=2810
FirstTimeIconLib=0
FirstTime=0
Aligned extension=1
SeparateTree=0
PanelsVertical=0
test=189

[FileSystemPlugins64]
$checksum$=3014672

[ButtonbarCache]
IconDll_default.bar=
IconDll_vertical.bar=

[left]
path=c:\
ViewMode=0
activepanelcolor=-1
activepanelcolor2=-1
ShowAllDetails=1
SpecialView=0
show=1
sortorder=0
negative Sortorder=0

[right]
path=c:\Program Files\
ViewMode=0
activepanelcolor=-1
activepanelcolor2=-1
ShowAllDetails=1
SpecialView=0
show=1
sortorder=0
negative Sortorder=0

[ViewModes]
0_name=<default>
0_icon=
0_options=-1|-1|0||-1|-1|-1
1_name=Activate_Target_Tab_2
1_commands=cm_TrgActivateTab2
1_options=-1|-1|0||-1|-1|-1

[lefttabs]
0_path=c:\Windows\
0_options=1|0|0|0|0|0|0|
1_path=c:\Windows\System32\
1_options=1|0|0|0|0|0|0|
activetab=0

[righttabs]
0_path=c:\Program Files\Common Files\
0_options=1|0|0|0|0|0|0|
1_path=c:\Program Files\Internet Explorer\
1_options=1|0|0|0|0|0|0|
activetab=0
2- Right click on any left or right tab and select "Activate_Target_Tab_2" view mode
3- The target panel seems freeze, but it isn't, you can open any folder by double click

The same behavior is true for other tab commands (cm_*ActivateTab*)

No problem with TC x32
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50550
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

You are probably causing some sort of loop. This means that this command shouldn't be used, sorry.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 16032
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

You are probably causing some sort of loop
No problem with TC x32
Why only a loop in the 64bit version then??
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
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Post by *ts4242 »

ghisler(Author) wrote:You are probably causing some sort of loop.
I don't think so, in addition to what petermad said, i also said before "The target panel seems freeze, but it isn't". Maybe it is focusing issue.
ghisler(Author) wrote:This means that this command shouldn't be used, sorry.
Using cm_*ActivateTab* command is very useful to simulate Directory Hotlist's Target path with Tabs
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50550
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

But activating a tab may trigger again a view mode change and command activation etc.
Author of Total Commander
https://www.ghisler.com
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Post by *ts4242 »

ghisler(Author) wrote:But activating a tab may trigger again a view mode change and command activation etc.
I tried to configure that circular switch mode, there is no infinite loop or hang but just the same behavior described above.
Post Reply