-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[Bug] Cannot open ZIP file after downloading from Fenix #10428
Comments
Investigation results: Upon checking after-download behaviors, Fennec will open its own about:downloads page and show the Zip file in the list, but will do nothing upon clicking it. Chrome will also show the download in-browser in the downloads section, and upon clicking clicking will show a 'Cannot Open File' snackbar message. The difference in the interactions is that you can see the Zip has been successfully downloaded, at least shows in the Downloads list- even if you can't open it. That makes it seem more like a limitation of a browser vs. a potential error with a Zip download. Proposed solutions:
|
See mozilla-mobile/android-components#7064 for PR |
This should have a new string explaining what is/is not possible in the UI. |
Hi, I've just checked this matter on the latest Depending on the device, after tapping "Open":
► Video from Google Pixel 3a - Stock File Manager ► Video from Google Pixel 3a - having another File Manager app installed ► Video from Huawei Mate 20 Lite - Stock File Manager @kglazko - Please review and share your thoughts. |
@Amejia481 Oh no this is definitely not the right behavior- did this get rolled out in AC or something? Or did this AC that had our changes ever land in Fenix? |
In #7048 @Amejia481 left a comment when merging suggesting we update this string so that translators see it. I didn't notice it and didn't create a follow up PR until now, and I think this is why we may be seeing the issues, especially since new l10n landed recently. |
Is that the right PR? I don't see any comment about changing strings in #7048, and as far as I can tell, that string never changed while I was managing merges To be clear, it's too late to undo this, but I'd like to understand if I'm missing something. |
I'm sorry, that is not the right PR, I copy-pasted from Android Components and it linked the wrong issue. mozilla-mobile/android-components#7048 Should be the correct one! |
Thanks. After looking at the PR, it doesn't seem to me that the string was changed. As far as I can tell, it landed directly with the correct value
|
Hi, I've just re-checked this on the latest Still, the "Could not open file" message is displayed if the File manager can't open zip files. @kglazko - Please review and share your thoughts |
Thanks @AndiAJ, I will take a look. |
@AndiAJ we put a patch for improving the message when we can't not find an app for opening the file, it should be in master. |
Hi all! Not sure if this is the expected behavior. I'll remove the qa:needed label until further notice. |
Hi @Amejia481 The proposed and agreed upon solution eas to "Display a different message for Zipfiles in the Snackbar (i.e. Cannot Open Zip Files)". Could you please review, and let us know if the new behavior is the expected one? |
We are using the "No app found" message because when we download a file Fenix doesn't open the file itself it delegates to any app available on the device that can open that type of file, and when we can't find an app that is able to open the file we show the message, if later the user installs an app that can handle that type of files we will be able to open the download file via the new app. This message is more clear about why we can't open the file and let users know that have to install an app for handling that type of file as the previous message give the impression that Fenix is the one that can't open the file. |
Thanks, Arturo! |
Steps to reproduce
Download ZIP file
Wait for 'Download Completed' notification
Press 'Open' button
Expected behavior
I will be taken to the ZIP file in my Files app
Actual behavior
I am given a notification that says 'Cannot Open File'
Device information
┆Issue is synchronized with this Jira Task
The text was updated successfully, but these errors were encountered: