Bug in 7z archives properties



  • when you create a 7z archive and then check its properties via PA, sometimes PA will fail to tell its compression, stating 0% when it’s not true…

    For example, download this 7z archive:
    [http://greg79.altervista.org/sw/debian jigdo-win-0.7.1a.7z](http://greg79.altervista.org/sw/debian jigdo-win-0.7.1a.7z) (right click and save)

    Then open it with PA (I’m using 9.11.01), and see that it states it has a 0% compression, while it hasn’t obviously.

    Open it with WinRAR, for example, and it’ll correctly say
    Uncompressed size: 2.515.893
    Compressed size: 781.091
    Compression ratio: 31%

    If it worked, PA would say 69% (to 100).

    Can anyone of you confirm that, and check with some 7z files of your own?
    Thanks!



  • I can confirm this!
    I have downloaded your archive and I have tha same problem (0%)
    Also I created my own 7z archives… the same problem…

    Thanks,



  • any news about this, spwolf? :rolleyes:


  • conexware

    @manuangi:

    any news about this, spwolf? :rolleyes:

    Hi,

    As mentioned in another thread, current PA does not display this info for 7zip files (under filelist either). Once we implement new 7zip code, you will be able to see this info, where available (unless it is solid archive I assume). We will have to redesign the properties window in any case, as mentioned on the wishlist.

    thanks,



  • @spwolf:

    Hi,

    As mentioned in another thread, current PA does not display this info for 7zip files (under filelist either).

    this is not true…
    in fact, I have that issue only with some 7z files, not with all of them!!

    look!

    with the above file, all works perfectly…and it’s a 7zip file!

    so,I think this is a bug, not a missing feature…

    by the way…both files, are files I compressed to 7zip with PowerArchiver…and my settings for compressing include the “solid archive” option…so both files are solid archives.

    what do you think?


  • conexware

    Well, you are correct - 7zip saves original file size anyway.

    Upon checking it a bit more - it is because of using Explorer view. It works just fine under Classic view. It seems that for 7zip, PA displays current archive path compression size info, while for other formats it shows overall info (size) at all times.

    So reason % doesnt work in this case is because its compressed size is bigger than original file size and it really does not know what to do then.

    thanks,



  • @spwolf:

    It seems that for 7zip, PA displays current archive path compression size info, while for other formats it shows overall info (size) at all times.

    So reason % doesnt work in this case is because its compressed size is bigger than original file size and it really does not know what to do then.

    I can’t understand…

    what is bigger than original file size? the 7z archive’s uncompressed size is 2.515.893, its compressed size is 781.091…

    what do you mean by “current archive path compression size”?

    anyway, you’re right…under classic style view compression properties are correctly shown.

    but, eventually, don’t you think this is a bug? I sure do.


  • conexware

    If you check at the status bar, you will see that it shows current uncompressed data for FILES in the PATH that you are currently in. This means when calculating % in the properties, it comes out to negative since uncompressed size is less than compressed size. If you check at the status bar, you will see what I mean. When you go throught paths, you will notice how the values change and they should not for this purpose.

    I think it is actually useful since you can now see current path info however it really should work as in Classic mode and that way compression % would be correct as well. It will be our priority to fix this BUG for next version.

    thanks,



  • @spwolf:

    If you check at the status bar, you will see that it shows current uncompressed data for FILES in the PATH that you are currently in. This means when calculating % in the properties, it comes out to negative since uncompressed size is less than compressed size. If you check at the status bar, you will see what I mean. When you go throught paths, you will notice how the values change and they should not for this purpose.

    ooh, ok, now I understand!

    I think it is actually useful since you can now see current path info however it really should work as in Classic mode and that way compression % would be correct as well.

    right! 🙂

    It will be our priority to fix this BUG for next version.

    thanks

    thank you!



  • at least, for the file in my first post!
    I’ll be checking with some other ones!

    in the meantime, very well done, guys!! 🙂


 

5
Online

9.8k
Users

6.0k
Topics

36.6k
Posts

Copyright © 1998-2018 ConeXware, Inc.
All rights reserved. Privacy Policy