Page 1 of 1

Quickview zip file: use "root" readme not "first" readme

Posted: 2023-08-06, 09:20 UTC
by hi5
I noticed that when I do a quickview on an archive it shows the readme.txt/md/file_id.diz in the panel but it uses the first it can find and not the one in the root of the archive so to speak - this makes it less useful for me (as the first readme in such cases often have something like "places files here" or "image folder" and not the description of the "thing" (program, archive) as intended when the archive was created.

Example: If you have an archive with the structure as below, it shows the contents of "testzip\folder2\readme.txt" and not the one from the root "testzip\readme.txt" when you do a Quick View.

Code: Select all

testzip.zip
 \testzip\folder1\file.txt
 \testzip\folder2\readme.txt
 \testzip\readme.txt
 \testzip\file.txt
I would prefer to be able to see the "root" version even it would mean it might become a "bit slower" (if that was the reason to use "first" vs "root"). If need be via a INI setting if the current behaviour is required to be standard.

Re: Quickview zip file: use "root" readme not "first" readme

Posted: 2023-08-06, 15:00 UTC
by Usher
2hi5
There is no file in a root folder in your case. I suppose that you want to display readme from the root or topmost folder rather than the first readme listed in the archive.

Re: Quickview zip file: use "root" readme not "first" readme

Posted: 2023-08-06, 16:17 UTC
by hi5
Yes, top-most, this also shows "folder2\readme.txt" not "\readme.txt"

Code: Select all

testzip.zip
 \folder1\file.txt
 \folder2\readme.txt
 \readme.txt
 \file.txt

Re: Quickview zip file: use "root" readme not "first" readme

Posted: 2023-08-06, 16:25 UTC
by petermad
Support++

Re: Quickview zip file: use "root" readme not "first" readme

Posted: 2023-08-06, 16:43 UTC
by funkymonk
Support++