TC 9.5b1 - Explorer Preview cannot be loaded from command line

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: 14806
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

TC 9.5b1 - Explorer Preview cannot be loaded from command line

Post by *petermad »

I had expected that Lister could be opened with the new Explorer Preview with this command line:

Code: Select all

totalcmd.exe /S=L:T8 <filename>
Is this intentional, or is the parameter /S=L:T8 going to be supported?
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: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC 9.5b1 - Explorer Preview cannot be loaded from command line

Post by *ghisler(Author) »

Added to beta 2, thanks!
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14806
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: TC 9.5b1 - Explorer Preview cannot be loaded from command line

Post by *petermad »

Tanks - the /S=L:T8 parameter now works - but there is a new problem:

If I open image files like .jpg or .png files from commandline with the /S=L:T8 parameter - then if I click Options the menu item "8 Explorer Preview" is selected.

But if i load an .htm or a .txt file then none of the 8 viewer options are shown. See: http://madsenworld.dk/tcmd/lister8.png

BTW - would it be possible with some hint in the Title bar, when the Explorer Preview is active?
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: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC 9.5b1 - Explorer Preview cannot be loaded from command line

Post by *ghisler(Author) »

But if i load an .htm or a .txt file then none of the 8 viewer options are shown.
Confirmed, thanks. I will also add <Explorer> to the title bar.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14806
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: TC 9.5b1 - Explorer Preview cannot be loaded from command line

Post by *petermad »

But if i load an .htm or a .txt file then none of the 8 viewer options are shown.
Confirmed fixed in TC 9.5b3 :-)
would it be possible with some hint in the Title bar, when the Explorer Preview is active
Partly fixed in TC 9.5b3 - <Explorer> is shown in the title for file types like .htm and .txt, and videos like .mp4 and .wmv, but not for images like .png and .jpg
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: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC 9.5b1 - Explorer Preview cannot be loaded from command line

Post by *ghisler(Author) »

Images are not loaded via <Explorer> method (IPreviewHandler), they are loaded via IThumbnailProvider and then displayed internally by TC. <Explorer> is only shown when TC shows the IPreviewHandler object.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14806
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: TC 9.5b1 - Explorer Preview cannot be loaded from command line

Post by *petermad »

Is it possible to show something like <Thumbnail> in the title then for images then - right now it is impossible to see whether an image is shown via GDI+ or thumbnail provider whithout having to click "Options" in the menu.
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: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC 9.5b1 - Explorer Preview cannot be loaded from command line

Post by *ghisler(Author) »

No, TC switches to normal image view after loading the thumbnail, it doesn't 'know' anything about a separate view.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14806
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: TC 9.5b1 - Explorer Preview cannot be loaded from command line

Post by *petermad »

Hmm, but still - if I open the "Options" in the menu I see "8 Explorer Preview" selected, so somehow TC must know that the Explorer Preview is used.

If I use the normal Image view ( %COMMANDER_EXE% /S=L:P ), Options show: "4 Image/Multimedia"
If I use the Explorer preview ( %COMMANDER_EXE% /S=L:T8 ), Options show: "8 Explorer Preview"
but in both instances the Title shows the same: [path\filename] - could either one or the other be made to indicate the viewer mode in the title?
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
Post Reply