Bug 414686 - Krusader shows wrong content of zip-archives if unzip-6.1 package used
Summary: Krusader shows wrong content of zip-archives if unzip-6.1 package used
Status: REPORTED
Alias: None
Product: krusader
Classification: Applications
Component: krarc (show other bugs)
Version: 2.7.1
Platform: Mageia RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Krusader Bugs Distribution List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-30 13:32 UTC by Yuri Galitsky
Modified: 2023-02-28 20:58 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Opening zip archive with unzip-6.1 (220.29 KB, image/png)
2019-12-01 01:41 UTC, Yuri Galitsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Galitsky 2019-11-30 13:32:56 UTC
SUMMARY
Mageia 7 distro uses unzip package version 6.1. When opening any zip-archive, krusader shows two extra entries that aren't in the archive. It seems that when reading the archive with unzip-6.1, the contents of the archive are displayed differently. Difference between unzip-6.0 and unzip-6.1 is that unzip-6.1 output contains two more line. First is path to the archive and second is archive size and members count. 

STEPS TO REPRODUCE
1. Install unzip 6.1
2. Open a zip-archive in the Krusader
3. See two "extra" files that aren't in the archive

OBSERVED RESULT
Krusader shows two extra entries before the valid content.

EXPECTED RESULT
Correct archive content.

SOFTWARE/OS VERSIONS

Linux/KDE Plasma:
Operating System: Mageia 7
KDE Plasma Version: 5.15.4
KDE Frameworks Version: 5.57.0
Qt Version: 5.12.2

ADDITIONAL INFORMATION
See also
https://bugs.mageia.org/show_bug.cgi?id=25307
Comment 1 Davide Gianforte 2019-11-30 17:28:15 UTC
Hi,

does the problem is present with Dolphin? When you enter the archive, the protocol is zip: or krarc:?

Thank you very much
Comment 2 Yuri Galitsky 2019-12-01 01:41:50 UTC
Created attachment 124224 [details]
Opening zip archive with unzip-6.1
Comment 3 Yuri Galitsky 2019-12-01 01:55:46 UTC
There's no problem with Dolphin or Ark. The protocol is krarc: (see screenshot).
Running 'unzip -ZTs-z-t-h somearchive.zip' with unzip-6.0:
$ unzip -ZTs-z-t-h PTSerif.zip
-rw-a--     2.0 fat     3653 b- defN 20100401.174644 OT_TT_Install_E.txt
-rw-a--     2.0 fat     2616 b- defN 20100401.174646 OT_TT_Install_R.txt
-rw-a--     2.0 fat     1981 b- defN 20101223.155636 PT Free Font License_eng_1.2.txt
-rw-a--     2.0 fat     5036 b- defN 20101223.155636 PT Free Font License_rus_1.2.txt
-rw-a--     2.0 fat   346892 b- defN 20101222.144656 PTF55F.ttf
-rw-a--     2.0 fat   363200 b- defN 20101222.144702 PTF56F.ttf
-rw-a--     2.0 fat   327840 b- defN 20101223.143118 PTF75F.ttf
-rw-a--     2.0 fat   325424 b- defN 20101223.143132 PTF76F.ttf
-rw-a--     2.0 fat   387684 b- defN 20101222.144714 PTZ55F.ttf
-rw-a--     2.0 fat   394456 b- defN 20101222.144720 PTZ56F.ttf

unzip-6.1 output, same archive:
$ unzip -ZTs-z-t-h PTSerif.zip
Archive:  /home/gaurii/PTSerif.zip
Archive size: 1010600 bytes; Members: 10
-rw-a---    2.0 fat     3653 b- defN 20100401.174644 OT_TT_Install_E.txt
-rw-a---    2.0 fat     2616 b- defN 20100401.174646 OT_TT_Install_R.txt
-rw-a---    2.0 fat     1981 b- defN 20101223.155636 PT Free Font License_eng_1.2.txt
-rw-a---    2.0 fat     5036 b- defN 20101223.155636 PT Free Font License_rus_1.2.txt
-rw-a---    2.0 fat   346892 b- defN 20101222.144656 PTF55F.ttf
-rw-a---    2.0 fat   363200 b- defN 20101222.144702 PTF56F.ttf
-rw-a---    2.0 fat   327840 b- defN 20101223.143118 PTF75F.ttf
-rw-a---    2.0 fat   325424 b- defN 20101223.143132 PTF76F.ttf
-rw-a---    2.0 fat   387684 b- defN 20101222.144714 PTZ55F.ttf
-rw-a---    2.0 fat   394456 b- defN 20101222.144720 PTZ56F.ttf
Comment 4 Bug Janitor Service 2019-12-16 04:33:09 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Yuri Galitsky 2019-12-16 11:21:10 UTC
Information has been provided in comments 2 and 3.