PWA and Custom tab fails to open PDF file
Categories
(Firefox for Android :: PWA, defect, P5)
Tracking
()
People
(Reporter: wurstsemmel, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fxdroid][group4])
Attachments
(1 file, 1 obsolete file)
|
911.19 KB,
video/mp4
|
Details |
Steps to reproduce:
- Open PWA eltern.kitaplus.de* and navigate to inbox within PWA.
- Open a message which contains a pdf as attachment.
- Tap on the attachment to open the pdf.
- login credentials required
Actual results:
The PWA switches to Firefox for Android and nothing happens. The pdf is neither displayed nor downloaded.
See attached screen recording: pdf-PWA.mp4
Expected results:
The PWA should display the pdf.
Note: When opening the website eltern.kitaplus.de in Firefox for Android (not PWA) the pdf is displayed as expected.
Comment 1•2 years ago
|
||
The severity field is not set for this bug.
:jonalmeida, could you have a look please?
For more information, please visit BugBot documentation.
Updated•2 years ago
|
Updated•2 years ago
|
Comment 2•2 years ago
|
||
Confirmed on BMW PWA in 120 on a Pixel 4a.
STR:
- Install BMW PWA
- Navigate to
Reach Regulationin footer area of page - Select a PDF of the regulations in the app
Updated•2 years ago
|
Updated•1 year ago
|
Comment 4•1 year ago
|
||
This is most probably due to the site trying to open the PDF in a new tab ( target="_blank" set). Custom tabs should have the same problem.
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•6 days ago
|
Comment 5•6 days ago
|
||
The bug can also be reproduced when opening a Custom Tab, which can be very frustrating for users opening a ticket they received by email. There's no decent workaround (apart from copying the link URL from the email, opening Fenix and loading the URL from there).
Comment 6•6 days ago
•
|
||
STR for PWA
- Open https://pdf-redirect-issue-repro.onrender.com/pwa on Fenix
- Add to home screen as an app
- Open the PWA from the Home screen
- Click
Load PDF
Expected result:
- a PDF is loaded
Actual result:
- The page doesn’t load
Alternative to https://pdf-redirect-issue-repro.onrender.com/pwa:
Clone https://github.com/titooan/pdf-redirect-issue-repro and run:
python3 -m venv .venv && source .venv/bin/activate && pip install -r requirements.txt
python pdf_redirect_server.py --port 8765
Access from Fenix, but you might not be able to install the PWA because of the lack of HTTPS
Updated•3 days ago
|
Updated•3 days ago
|
Description
•