Lister vs. QV / Different behavior

Please report only one bug per message!

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
funkymonk
Senior Member
Senior Member
Posts: 410
Joined: 2013-12-04, 09:56 UTC

Lister vs. QV / Different behavior

Post by *funkymonk »

Bug or intention?


For some .epub files, TC's lister (F3) directly renders the file with a suitable lister plugin (e.g., slister/sumatra).
If I use quickview on exactly the same epub file, QV just displays a text file that is stored in the epub.

As epub is a zip compressed format it seems that QV looks into the file and extracts a text file (if one exists) for display.
Instead, lister renders the epub through the lister plugin without extracting the text file.

If no such text file is found within the epub, QV and lister both render the epub directly.

This phenomenon does not only show up with epub but sometimes also with other (compressed) formats.

Thus: Is it a bug that lister and QV behave differently or is this intended?
User avatar
Gral
Power Member
Power Member
Posts: 1460
Joined: 2005-01-26, 15:12 UTC

Re: Lister vs. QV / Different behavior

Post by *Gral »

Set

Code: Select all

QuickViewUnzipReadMe=-1
under [Configuration] section.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6449
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Lister vs. QV / Different behavior

Post by *Horst.Epp »

I have set QuickViewUnzipReadMe=0
Epub files are previewed in Quick view using SLister.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
User avatar
funkymonk
Senior Member
Senior Member
Posts: 410
Joined: 2013-12-04, 09:56 UTC

Re: Lister vs. QV / Different behavior

Post by *funkymonk »

Perfect. Thank you!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Lister vs. QV / Different behavior

Post by *ghisler(Author) »

Should I ignore the value of QuickViewUnzipReadMe when the extension is .epub? What about other extensions?
Author of Total Commander
https://www.ghisler.com
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6449
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Lister vs. QV / Different behavior

Post by *Horst.Epp »

ghisler(Author) wrote: 2023-04-26, 10:20 UTC Should I ignore the value of QuickViewUnzipReadMe when the extension is .epub? What about other extensions?
At least for .epub it should be ignored.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
User avatar
funkymonk
Senior Member
Senior Member
Posts: 410
Joined: 2013-12-04, 09:56 UTC

Re: Lister vs. QV / Different behavior

Post by *funkymonk »

I think it is not a good idea to exclude specific extensions by default. Unless the list of ignored extensions can be changed by the user.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6449
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Lister vs. QV / Different behavior

Post by *Horst.Epp »

funkymonk wrote: 2023-04-26, 11:59 UTC I think it is not a good idea to exclude specific extensions by default. Unless the list of ignored extensions can be changed by the user.
Why not, a epub file will never contain a readme which the user wants to see on browsing thru files.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
User avatar
funkymonk
Senior Member
Senior Member
Posts: 410
Joined: 2013-12-04, 09:56 UTC

Re: Lister vs. QV / Different behavior

Post by *funkymonk »

Horst.Epp wrote: 2023-04-26, 12:17 UTC
funkymonk wrote: 2023-04-26, 11:59 UTC I think it is not a good idea to exclude specific extensions by default. Unless the list of ignored extensions can be changed by the user.
Why not, a epub file will never contain a readme which the user wants to see on browsing thru files.
Depends on the use case.

BTW: Some other (compressed) formats do also contain text files, e.g., with some meta information. Sometimes the user might want to see the contained text file -- sometimes not. Thus: the list of ignored extensions should be modifiable by the user.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Lister vs. QV / Different behavior

Post by *ghisler(Author) »

At least for .epub it should be ignored.
Currently QuickViewUnzipReadMe=-1 does this - it doesn't show included readme files unless the extension is one of the archive extensions (where a packer icon is shown). Maybe I should make this the default?
Author of Total Commander
https://www.ghisler.com
Post Reply