Lister vs. QV / Different behavior
Moderators: Hacker, petermad, Stefan2, white
Lister vs. QV / Different behavior
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?
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?
Re: Lister vs. QV / Different behavior
Set
under [Configuration] section.
Code: Select all
QuickViewUnzipReadMe=-1
Re: Lister vs. QV / Different behavior
I have set QuickViewUnzipReadMe=0
Epub files are previewed in Quick view using SLister.
Epub files are previewed in Quick view using SLister.
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
Re: Lister vs. QV / Different behavior
Perfect. Thank you!
- ghisler(Author)
- Site Admin
- Posts: 50383
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Lister vs. QV / Different behavior
Should I ignore the value of QuickViewUnzipReadMe when the extension is .epub? What about other extensions?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Lister vs. QV / Different behavior
At least for .epub it should be ignored.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?
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
Re: Lister vs. QV / Different behavior
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.
Re: Lister vs. QV / Different behavior
Why not, a epub file will never contain a readme which the user wants to see on browsing thru files.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.
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
Re: Lister vs. QV / Different behavior
Depends on the use case.Horst.Epp wrote: 2023-04-26, 12:17 UTCWhy not, a epub file will never contain a readme which the user wants to see on browsing thru files.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.
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.
- ghisler(Author)
- Site Admin
- Posts: 50383
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Lister vs. QV / Different behavior
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?At least for .epub it should be ignored.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com