Solved [TC8.0b8] Errors in Lister when displaying directories

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

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
petermad
Power Member
Power Member
Posts: 14796
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Solved [TC8.0b8] Errors in Lister when displaying directories

Post by *petermad »

If I press F3 on a directory there are several errorrs in Lister:

1. If I click the Options menu item, Lister indicates that the view is in Binary (2) mode! If I then select Binary mode (2) then TC shows the info in real binary mode.

2. If I select text (1) mode, the view looks amost like UTF-8 (7) mode.

3. If I select Unicode (6) mode the text looks ok (like initial view).

4. If I select Image/multimedia (4) mode and there is no plugin the text is displayed ok (like initial view). But when the Options menu is opened again TC indicates that the view is Binary (2)!

5. If I select Image/multimedia (4) mode and there IS a plugin, the plugin shows its info about the dir. If I then select Text (1) mode, the text is shown ok (like initial view). If I select Text (1) once again, the text is shown almost as UTF-8 view.

6. If I press F3 on a directory and click Options, the mode is shown as Binary (2) as mentioned before. If I then change to ASCII (S) mode the view is indicated as Unicode (6).

7. If I press F3 on a dir and press 1 twice the text is hard to read. If I then press 5 and then again 1, it becomes readable again.

8. If I have VisualDirSize installed as plugin, and press F3 , the dir info is corectly shown by the plugin. After that no matter whether I press 1, 2 or 3, Lister goes into Text (1) mode but shows the text correctly as in Unicode mode.

9. If I have VisualDirSize installed as plugin, and press F3, and then press 7 or 8 I get this access violation:

Code: Select all

---------------------------
Totalcmd
---------------------------
Access violation at address 00000000. Read of address 00000000.
---------------------------
OK   
---------------------------
Lister/TC still works OK after this AV.
Last edited by petermad on 2021-05-30, 17:02 UTC, edited 1 time in total.
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.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48079
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

The results are currently shown as Unicode. I will switch to UTF-8 to handle hyperactive users trying to switch to different views. :)
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14796
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

It is not so much whether it is shown as Unicode or UFT-8, it is the fact that Listers menu shows the wrong mode (Binary).

The reason why I noticed the wrong display was because I pressed 4 to display the dir with VisulDirSize plugin. after that I wanted to see the text info again, and somehow happened to press 1 twice.
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.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48079
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

It is not so much whether it is shown as Unicode or UFT-8, it is the fact that Listers menu shows the wrong mode (Binary).
This wasn't a problem with Ctrl+Q because it doesn't have any menu - I will correct that, of course. What I meant with hyperactive users is when you try to switch to a different mode when that doesn't make much sense. ;)
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14796
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Well I pressed F3 on a directory which opens it with a plugin (visualDirSize) - but I want to see TC's text Info, so I press 1 for text (how could I know that the info is in Unicode).

I think that makes sense ;-)
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.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
petermad
Power Member
Power Member
Posts: 14796
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Confirmed fixed in TC 8.0b9 :-)

Now - if I have visualdirSize enabled and press F3 I see the dir with the plugin - if I then press 1, TC is smart enough to figure out my intention and selects the proper UFT-8 view. If I then again press 1 then real text view is used.

It is only when going from plugins view and press 1 that TC makes an assumption and uses UTF-8, otherwise the real text view is used when pressing 1 - I think this is a great solution :-)
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.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48079
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks! :)
Author of Total Commander
https://www.ghisler.com
Post Reply