Version: 2.12 (using 4.2.2 (KDE 4.2.2) "release 114", KDE:KDE4:Factory:Desktop / openSUSE_11.1) Compiler: gcc OS: Linux (i686) release 2.6.27.21-0.1-default When creating a zip archive the compressed size is displayed wrongly (e.g. 4.0 GiB for a 22 MiB file) in ark. I will attach a screenshot.
Created attachment 32965 [details] screenshot of ark showing strange compressed size of files
Thanks for the report. Does it only happen to this file? Is there any smaller file that you can attach that exhibits this same behaviour?
(In reply to comment #2) > Thanks for the report. Does it only happen to this file? Is there any smaller > file that you can attach that exhibits this same behaviour? I just tried it again. The compressed size is always displayed as 4,0 GiB independent of the file you compress. (I have tried it with the attached png-file.) But this is displayed wrong only when you create the zip-file. As soon as you close it and open it again reasonable values are displayed. So attaching a zip-archive does not help. I hope you can reproduce it. Thanks for the quick response!
Ah, I see. I could reproduce it here too. This may be a bug in libzip, from which we might move away in 4.3 or 4.4. As soon as I have time I'll take a closer look at it.
Yes, this is a bug downstream. There is uncertainty whether libzip should be compiled with 32bit or 64bit size_t, and because distros do this different we have included a cache variable for this in CMake. Either way, like mentioned before the libzip plugin will be deprecated for 4.3, so this bug should disappear completely then. *** This bug has been marked as a duplicate of bug 167018 ***