#8 Improper Compression for Multiple Files

open
nobody
Mac SDK (2)
9
2010-08-17
2010-02-18
Alyshah B.
No

keka works great when multiple files are dragged and dropped onto the dock; keka produces a single archive, which, when uncompressed, produces a single folder with all the files. But this only works most of the times. keka seems to have a hard time when one of the files is an already compressed file (i.e. .7z, .dmg, etc.). Sometimes, I like to make an archive (with no compression) of multiple applications, like compressing all installation .dmg's for media-related applications into one archive and all gaming-related applications into another archive. This makes for easier backup.

Anyways, after encountering some weird results, I conducted some quick tests, and here's what I found:
.jpg + .dmg = two individual .7z's, one for each file passed to keka (should be one .7z total)
.dmg + .dmg = one .7z containing only one .dmg that was passed to keka, the other is ignored
.jpg + .dmg + .dmg = two individual .7z's; one containing the .jpg and one containing one .dmg (one .dmg is ignored)

Discussion

  • Alyshah B.
    Alyshah B.
    2010-02-18

    • priority: 5 --> 7
     
  • aONe
    aONe
    2010-02-18

    You're right, I've made some tests and it doesn't works fine. I've tested with .rtf + .tar instead of .jpg + .dmg and it does the same. Will send you feedback as soon as I can fix it.

    Thanks Alyshah!

     
  • aONe
    aONe
    2010-02-18

    • priority: 7 --> 9
     
  • aONe
    aONe
    2010-08-16

    I found that is the "openFiles:(NSArray *)filenames" API that causes the error, as it doesn't get all the files, if one is a DMG. I'll try to fix it, but at this point don't know how.

     
  • aONe
    aONe
    2010-08-17

    I've send a mail to ADP Bug Team (Apple Developer Program Bug Team) so they can see what the problem and hope they solve it.

     
  • aONe
    aONe
    2010-08-17

    • labels: --> Mac SDK
     
  • aONe
    aONe
    2010-08-17

    I've also reported it to bugreport.apple.com. The problem ID: 8318784