Closed Bug 2064934 Opened 3 months ago Closed 2 months ago

Saving a PDF from the menu on a content (local) PDF fails

Categories

(GeckoView :: PDF Viewer, defect)

All
Android
defect

Tracking

(firefox158 fixed)

RESOLVED FIXED
158 Branch
Tracking Status
firefox158 --- fixed

People

(Reporter: olivia, Assigned: olivia)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fxdroid][group6])

Attachments

(1 file, 1 external file)

STR:

  • Open a PDF from a website
  • Download PDF
  • Open downloaded PDF using firefox
  • Try to "Save as PDF" from three dot menu

Actual behavior

  • "Cannot save this file type"

Correct behavior

  • Should save
  • NB: Download button from PDF.js handles this correctly

Not a regression from bug 2064162. I tested before landing.

Attached image ErrorMessage.png —
Severity: N/A → S3
Type: task → defect
Blocks: 2071966
Assignee: nobody → ohall

The patch adjusts "save as PDF" to use the PDF viewer web response when on a PDF to recieve a blob:// schema response.

Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 158 Branch

:olivia did you want to nominate this for 158 release notes?

Flags: needinfo?(ohall)

Thanks for the ping! I don't think it is a noteworthy bug for the release notes.

In current release, this bug would only show up if the user decided to download a local PDF from the three dot menu. (Downloading from a website PDF was working.) However, users don't usually do that, because the old PDF.js toolbar that says "Download" works correctly.

This fix is more in anticipation of the new PDF toolbar, which isn't in release yet, which inherited the same bug from the three dot menu.

Flags: needinfo?(ohall)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: