[TC9.51] Custom associations for viewer works only on first item in list

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

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
aviasd
Junior Member
Junior Member
Posts: 84
Joined: 2013-07-02, 18:28 UTC
Location: Israel

[TC9.51] Custom associations for viewer works only on first item in list

Post by *aviasd »

Hi,

I think there's an issue with the internal viewer configuration:

When define view method by file type is selected:

Code: Select all

Item 1: *.ps1 Defined as text (1)
Item 2: *.txt  Defined as text (1)
Pressing F3 triggers the text viewer mode only for the first item. (*.ps1)
F3 on text files triggers the default viewer Syn2.

Changing the order of item 1 and item 2 , makes txt file works and ps1 not to work.

My default viewer is Synwrite - Maybe it's overriding something ?

Thanks
What will Total commander be like 10 years from now?
Tc 9.51 Final, #351732 Single, Win7x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC9.51] Custom associations for viewer works only on first item in list

Post by *ghisler(Author) »

I will check it, thanks for your report. There is a problem in 9.51 that the list can get damaged when you sort it, so please check whether both are still set to type 1.
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: [TC9.51] Custom associations for viewer works only on first item in list

Post by *petermad »

Perhaps the same bug as this: viewtopic.php?f=15&t=72737
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
aviasd
Junior Member
Junior Member
Posts: 84
Joined: 2013-07-02, 18:28 UTC
Location: Israel

Re: [TC9.51] Custom associations for viewer works only on first item in list

Post by *aviasd »

ghisler(Author) wrote: 2021-03-24, 11:41 UTC I will check it, thanks for your report. There is a problem in 9.51 that the list can get damaged when you sort it, so please check whether both are still set to type 1.
Yep, They are still 1
What will Total commander be like 10 years from now?
Tc 9.51 Final, #351732 Single, Win7x64
User avatar
aviasd
Junior Member
Junior Member
Posts: 84
Joined: 2013-07-02, 18:28 UTC
Location: Israel

Re: [TC9.51] Custom associations for viewer works only on first item in list

Post by *aviasd »

Update
It seems that a restart of Total commander is required to fix the issue.
Not sure - maybe the setting is not applied ??
Effects both 32 and 64 versions and Tc10.00B2
What will Total commander be like 10 years from now?
Tc 9.51 Final, #351732 Single, Win7x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC9.51] Custom associations for viewer works only on first item in list

Post by *ghisler(Author) »

I couldn't reproduce the issue. Since you write that it effects Tc10.00B2, can you explain after what operation you need to restart TC? I tried changing the sort order of the items, but didn't need to restart TC.
Author of Total Commander
https://www.ghisler.com
User avatar
aviasd
Junior Member
Junior Member
Posts: 84
Joined: 2013-07-02, 18:28 UTC
Location: Israel

Re: [TC9.51] Custom associations for viewer works only on first item in list

Post by *aviasd »

Hope this explains it
Image: https://i.imgur.com/MQI9su4.gif
What will Total commander be like 10 years from now?
Tc 9.51 Final, #351732 Single, Win7x64
User avatar
aviasd
Junior Member
Junior Member
Posts: 84
Joined: 2013-07-02, 18:28 UTC
Location: Israel

Re: [TC9.51] Custom associations for viewer works only on first item in list

Post by *aviasd »

Just realized my initial description doesn't match the bug -
When you add a new custom lister by file type, the settings is not applied until you restart TC.
The order does not matter.
What will Total commander be like 10 years from now?
Tc 9.51 Final, #351732 Single, Win7x64
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC9.51] Custom associations for viewer works only on first item in list

Post by *petermad »

When you add a new custom lister by file type, the settings is not applied until you restart TC.
I can not confirm this - Testet in TC 10 b3 32bit and 64bit under Windows 7 and 10
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: [TC9.51] Custom associations for viewer works only on first item in list

Post by *ghisler(Author) »

2aviasd
I can reproduce it when I follow your animated gif. It happens only when you open the Lister settings from the Total Commander settings. I will fix it, thanks for reporting it.
Author of Total Commander
https://www.ghisler.com
User avatar
white
Power Member
Power Member
Posts: 4593
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: [TC9.51] Custom associations for viewer works only on first item in list

Post by *white »

Issue confirmed and fixed OK.

Moderator message from: white » 2022-05-15, 22:22 UTC

Moved to Fixed bugs
Post Reply