Solved [TC 10 b2] Not able to cycle between view modes if internal mode is chosen as first mode

Bug reports will be moved here when the described bug has been fixed

Moderators: white, Hacker, petermad, Stefan2

User avatar
sqa_wizard
Power Member
Power Member
Posts: 3854
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Re: [TC 10 b2] Not able to cycle between view modes if internal mode is chosen as first mode

Post by *sqa_wizard »

Yes, I can confirm that is depends on the order of entries.

0fields=4i,mmedia.wlx => F3 starts with internal player - pressing "4" cycles to mmedia - pressing "4" still stays at mmedia - pressing "4" still stays at mmedia

0fields=mmedia.wlx,4i => F3 starts with mmedia - pressing "4" cycles to internal player - pressing "4" cycles to mmedia - pressing "4" cycles to internal player
#5767 Personal license
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: [TC 10 b2] Not able to cycle between view modes if internal mode is chosen as first mode

Post by *Usher »

2petermad
Now I confirmed. Then I found a very simple workaround (or bug): Just add space after the text.
For example, instead of "4i,YourPlugin.wlx" you should have "4i,YourPlugin.wlx " (without quotes, of course).
Magic ;-P
Andrzej P. Wozniak
Polish subforum moderator
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 10 b2] Not able to cycle between view modes if internal mode is chosen as first mode

Post by *petermad »

2Usher

No that doesn't really work. If i put a space at the end of the plugin name, TC simply ignores it as being a nonexisting name, and treats the setting as simply "4i" which does not have the bug. With "4i" alone TC start with internal viewer and then jumps to ALL applicable plugins when afterwards pressing 4 - that is why is sems to work for you - because you only have one applicable plugin.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 10 b2] Not able to cycle between view modes if internal mode is chosen as first mode

Post by *ghisler(Author) »

I cam confirm that
0fields=4i,Imagine.wlx
doesn't work. I found a solution for the next beta now.
However,
0fields=4,Imagine.wlx
will not work in the future because '4' includes Imagine.wlx, so TC cannot know that you want to switch away from '4'.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 10 b2] Not able to cycle between view modes if internal mode is chosen as first mode

Post by *petermad »

2ghisler(Author)

Hope you have noticed that I wrote earlier, that for example:
0fields=PhotoViewer.wlx,4i,Imagine.wlx
and
0fields=4i,PhotoViewer.wlx,Imagine.wlx
dosen't work either.

The only combo that works is with 4i at the end. like:
0fields=PhotoViewer.wlx,Imagine.wlx,4i


However,
0fields=4,Imagine.wlx
will not work in the future because '4' includes Imagine.wlx, so TC cannot know that you want to switch away from '4'.
I never expected that anyway
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 10 b2] Not able to cycle between view modes if internal mode is chosen as first mode

Post by *ghisler(Author) »

That's because TC checks which mode in that list is currently active when you press '4'. By mistake, 4i was treated the same as 4, which includes all plugins. Hopefully my fix will work in beta 4 later this week.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 10 b2] Not able to cycle between view modes if internal mode is chosen as first mode

Post by *petermad »

history.txt wrote:29.03.21 Fixed: Lister: When "Define view mode by file type" was set to 4i followed by a plugin (e.g. 4i,mmedia.wlx), switching from the plugin back to the internal viewer didn't work (32/64)
Confirmed fixed in TC 10 b4 :) :D :D
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply