[9.0 final]View mode auto switch invalid with my cm

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

Moderators: white, Hacker, petermad, Stefan2

Post Reply
tcthreepublic
Junior Member
Junior Member
Posts: 9
Joined: 2016-12-01, 11:38 UTC

[9.0 final]View mode auto switch invalid with my cm

Post by *tcthreepublic »

I made a definition for this field [activetabs]2_path=%$MYPICTURES%\ in TC' view mode,and in auto switch mode I made a commander "cm_100Percent|cm_50Percent" to tab %$MYPICTURES%\*,It's valid on TC9 beta but not TC9 rc,why?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Sorry, I don't quite understand. Could you please post your complete ini sections for view mode and mode change rules (with proper line breaks)?
Author of Total Commander
https://www.ghisler.com
tcthreepublic
Junior Member
Junior Member
Posts: 9
Joined: 2016-12-01, 11:38 UTC

Post by *tcthreepublic »

Default.tab:
2_path=%$MYPICTURES%\
2_caption=图片
2_options=1|0|0|0|0|1|0

wincmd.ini:
[ViewModes]
0_name=<默认色>
0_icon=
0_options=1|3|1||-1|-1|-1
1_name=WFX自定义列 (cm_100Percent)
1_icon=
1_commands=cm_100Percent|cm_50Percent
1_options=-1|-1|0||0|-1|-1
2_name=WFX自定义列 (em_PressKey_Alt+L-NirCMD)
2_icon=
2_commands=em_PressKey_Alt+L-NirCMD|em_PressKey_Alt+L-NirCMD
2_options=-1|-1|0||0|-1|-1
3_name=普通目录
3_icon=
3_commands=cm_50Percent
3_options=1|3|1||-1|-1|-1
4_name=系统directory
tcthreepublic
Junior Member
Junior Member
Posts: 9
Joined: 2016-12-01, 11:38 UTC

Post by *tcthreepublic »

sorry.complete ini sections for view mode and mode change rules is can't pasted in here.because forum prompt:“Please write your post in the correct language for this forum!”
so,complete ini sections already sent to your mailbox support@ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Unfortunately I didn't receive your attachment. I tried with a rule as you use it, but cm_100percent is always executed just fine when TC switched to thumbnails view mode.

What exactly do you do when it is NOT applied?
Author of Total Commander
https://www.ghisler.com
tcthreepublic
Junior Member
Junior Member
Posts: 9
Joined: 2016-12-01, 11:38 UTC

Post by *tcthreepublic »

My steps:

wincmd.ini:
[ViewModes]
11_name=图形图像
11_icon=
11_commands=cm_100Percent|cm_50Percent
11_options=5|3|1||32896|-1|-1
[ViewModeSwitch]
1_rules=+%$MYPICTURES%\*\
1_mode=11

first, i execute command :
opentabs %COMMANDER_PATH%\TABS\Default.tab

partial content of %COMMANDER_PATH%\TABS\Default.tab:
2_path=%$MYPICTURES%\
2_caption=图片
2_options=1|0|0|0|0|1|0

then ,i using the mouse to click the tab(%$MYPICTURES%\), cm_100percent is not executed ,window width is 50% yet.
In addition,column view is not changed to thumbnail too.

btw:
complete ini sections already sent to your mailbox support@ghisler.com again.
Last edited by tcthreepublic on 2016-12-06, 04:52 UTC, edited 2 times in total.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks, I got your file now and will test with it.
Author of Total Commander
https://www.ghisler.com
Post Reply