Bug 399269 - Incorrect information about file size after unzipping of big file
Summary: Incorrect information about file size after unzipping of big file
Status: RESOLVED WORKSFORME
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 18.08.2
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-01 08:16 UTC by Andrey E.
Modified: 2020-11-26 04:34 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Information about extracted file and information about packed file (169.19 KB, image/png)
2018-10-01 08:16 UTC, Andrey E.
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey E. 2018-10-01 08:16:08 UTC
Created attachment 115339 [details]
Information about extracted file and information about packed file

SUMMARY
Ark archiver can not correctly extract big files. Extracted files are lesser than expected.

STEPS TO REPRODUCE
1. Make D:\ Partition on Windows 10 (NTFS)
2. Set mount-point "/dos/" during Graphical installation of KDE neon
3. Unzip any big *.zip file located on "/dos/" or sub-directory using context menu of Dolphin or Ark (on ready Linux system).

OBSERVED RESULT & EXPECTED RESULT
For example, "q4os-2.6-rpi.r2.zip" downloaded from SourceForge includes "q4os-2.6-rpi.r2.img" (1 862 270 976 bytes), but extracted file weights about 80-90 MiB.

SOFTWARE VERSIONS
(available in About System)
KDE Plasma Version: 5.13.5
KDE Frameworks Version: 5.50.0
Qt Version: 5.11.1
Kernel: 4.15.0-34-generic
x86-64

ADDITIONAL INFORMATION
Copying file from archive via Dolphin works correctly.
Comment 1 Andrey E. 2018-10-01 10:04:40 UTC
Live session has same issue - Ark (version from live ISO) works incorrectly while unpacking files from NTFS partition.
Comment 2 Elvis Angelaccio 2018-10-07 20:06:24 UTC
Can you try again after disabling the libzip plugin? (Settings -> Configure Ark -> Plugin Settings)
Comment 3 Andrey E. 2018-10-08 16:44:41 UTC
I have only that Ark plugins:
Bzip2
Gzip
Info-zip
Libarchive
Libarchive (read-only formats)
LZMA
P7Zip
RAR
Unarchiver (that item cannot be deselected)
Which of them are connected with libzip?
Comment 4 Elvis Angelaccio 2018-10-14 10:11:25 UTC
Ok. Please disable P7Zip and try again.
Comment 5 Andrey E. 2018-10-14 18:31:39 UTC
After disabling P7Zip plugin and rebooting system result is still the same.
Comment 6 Andrey E. 2018-10-14 18:35:02 UTC
'sudo unzip' has the same error.
Comment 7 Elvis Angelaccio 2018-10-14 19:24:41 UTC
Thanks for the info.
Could you provide a link to the q4os-2.6-rpi.r2.zip file?
Comment 8 Andrey E. 2018-10-14 20:59:47 UTC
I had thought that it was Ark bug, but I found that it was Dolphin bug - file manager doesn't update information about unpacked file size automatically. 
Packed file:
https://sourceforge.net/projects/q4os/files/stable/q4os-2.6-rpi.r2.zip
At first time unpacked file weights about 90 MiB, but its real size becomes correct.
Please rename the bug "Incorrect size of file at Dolphin".
Comment 9 KDErobo3me 2018-12-19 03:46:24 UTC
directory size is not 100% reliable either, say when some files are owned by root.
Comment 10 Justin Zobel 2020-10-27 00:51:01 UTC
(In reply to KDErobo3me from comment #9)
> directory size is not 100% reliable either, say when some files are owned by
> root.

KDErobo3me , if files are owned by root and not set to be able to be read by others (+o+r) then they will likely be able to be read, this makes sense.

Andrey, can you please provide an alternate file that this issue happens with as the 2.6 version that was on sourceforge is no longer there.
Comment 11 Bug Janitor Service 2020-11-11 04:33:47 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 12 Bug Janitor Service 2020-11-26 04:34:02 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now 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

Thank you for helping us make KDE software even better for everyone!