Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

[webcontent] Can't open a PDF file after downloading it (from a Twitter link) #17099

Closed
julienw opened this issue Dec 17, 2020 · 6 comments
Closed
Assignees
Labels
🐞 bug Crashes, Something isn't working, .. Feature:Download S3 Blocks non-critical functionality and a work around exists wontfix

Comments

@julienw
Copy link

julienw commented Dec 17, 2020

Site with issue and any steps to reproduce

  1. Open https://twitter.com/boostmarks/status/1339490490471878658
  2. Click on the PDF link
  3. Click on "open the file" after it's been downloaded.

Expected behavior

=> The file is downloaded and can be opened in the PDF viewer.

Actual behavior

=> The file is downloaded.
=> I get an error that the file can't be opened.

When clicking on the notification for the download, the file can't be opened either, the error I get is "no application has been found for this file".

I can open the file when searching it from a File Manager app.
This also works fine in Chrome on Android, or Firefox on Desktop.

In Chrome I was unauthenticated on Twitter, so I also tried on Firefox/Android in private mode so that I'd be unauthenticated too, and I get the same problem.

Sorry I couldn't try with a link to a PDF file from another source than Twitter yet.

Does toggling Tracking Protection fix the issue? (Press the shield icon in the toolbar while on the site to see toggle)

No

Can you reproduce in Chrome (or other non-Mozilla browser)?

No.

Device information

  • Android device: Samsung S10e
  • Fenix version: Nightly 201216 17:01 (Build #2015781771) (Gecko version: 85, Gecko BuildID 20201214091023)

┆Issue is synchronized with this Jira Task

@github-actions github-actions bot added the needs:triage Issue needs triage label Dec 17, 2020
@Amejia481 Amejia481 added S3 Blocks non-critical functionality and a work around exists Feature:Download 🐞 bug Crashes, Something isn't working, .. and removed needs:triage Issue needs triage labels Dec 17, 2020
@Amejia481 Amejia481 self-assigned this Dec 17, 2020
@JulianMH
Copy link

The same error occurs with this link: https://dev.esis.de/api/v9/ESISApp.php?f=PDF&id=TTT&token=5ff4418a050e08ja8cLMlJLJcJPNNXMGxPA&file=5ff44149ad633.pdf

Works fine on Firefox Desktop and Chrome.

Device Information

Android Version: 8.0.0
Android Device: HUAWEI P20 lite
Fenix Version: Nightly 210112 17:03

@drupol
Copy link

drupol commented Jan 30, 2021

Hi,

Same issue when trying to download my CV from github: https://github.com/drupol/cv/releases/latest/download/cv.pdf

I tried with other browsers and I'm unable to reproduce the issue.

@Amejia481
Copy link
Contributor

This issue will be addressed after mozilla-mobile/android-components#9558 lands

@stale
Copy link

stale bot commented Jul 31, 2021

See: #17373 This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Jul 31, 2021
@julienw
Copy link
Author

julienw commented Aug 2, 2021

I believe this works now.

@julienw julienw closed this as completed Aug 2, 2021
@drupol
Copy link

drupol commented Aug 4, 2021

Indeed, this is fixed, thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🐞 bug Crashes, Something isn't working, .. Feature:Download S3 Blocks non-critical functionality and a work around exists wontfix
Projects
None yet
Development

No branches or pull requests

4 participants