When the first entry in a ZIP file is a directory, Ark will not show the CRC checksums of the files. Fix this bug by removing the !e->isDir() check. This will make Ark show CRC "0" for directories.
BUG: 406135
When the first entry in a ZIP file is a directory, Ark will not show the CRC checksums of the files. Fix this bug by removing the !e->isDir() check. This will make Ark show CRC "0" for directories.
BUG: 406135
Create a ZIP file which has a directory as the first entry, and open it in Ark.
Lint Skipped |
Unit Tests Skipped |
Thanks for submitting the patch.
Unfortunately, this is not the right way to fix this. The problem is that Ark uses the first entry in the archive to decide which columns to show. Since directories don't have checksums, the CRC column is not shown for the problematic archive. I'm working on a solution for this.