File-Manager
File-Manager copied to clipboard
Decompressing ZIP file results in error and 0 bit file
Checklist
- [X] I can reproduce the bug with the latest version given here.
- [X] I made sure that there are no existing issues - open or closed - to which I could contribute my information.
- [X] I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
- [X] I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
- [X] I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
- [X] This issue contains only one bug.
- [X] I have read and understood the contribution guidelines.
Affected app version
1.0.1
Affected Android/Custom ROM version
Android 12
Affected device model
Galaxy A12
How did you install the app?
Google Play Store
Steps to reproduce the bug
- Go to the ZIP file location (any).
- Click on the ZIP file to open, then on the "decompress" button in the top right corner.
- Select a folder to decompress to (any).
Expected behavior
Folder decompresses normally, resulting in file(s) in a "decompress" folder within the destination folder.
Actual behavior
An error message pops up:
While a "decompress" folder is created, the file in it is 0-bit:
Screenshots/Screen recordings
(see above)
Additional information
If needed, I can send the ZIP file over for reproduction.
it actually seems like Fossify File Manager is reading the ZIP file incorrectly in the prepatory stage: compare these two screenshots from Fossify and from Samsung File Manager.
Can you send a sample file? I just tested various ZIP files, and unpacking works correctly.
I can reproduce only with two specific ZIP files neither of which are meant for general distribution. Do you have access to the [email protected] email address? I can send them there.
Please send it there, we will check it.
sent with password FossifyOrg.
Thanks for sending! I've confirmed, and in fact that ZIP doesn't work in File Manager.
From a quick search, it looks like we've inherited that bug from zip4j library: https://github.com/srikanth-lingala/zip4j/issues/135.
Interestingly, unzipping .zip downloads from Amazon Music worked for me when I first got the app, but unzipping my own .zip folders or those created by colleagues does not work at all. One of the reasons why I got the Fossify app for my Fairphone was that I was hoping it would handle ZIP. Is there any recommendation on what other apps to install while ZIP isn't working in the File Manager?
idk if it's just that I haven't received any files created that way or that upstream solved the issue, but it hasn't been recurring for a while now.
I was testing https://pairdrop.net and tried to send multiple files between devices. Had the same problem as highlighted here, the preview only shows a single file and an error is reported when extraction is attempted. Attaching the file I sent myself along with screenshots of the fossify file manager and built in one.
PairDrop_files_20241213_1141.zip