Closed Bug 1778692 Opened 2 years ago Closed 2 years ago

Contents like barcode or image placeholder are not rendered in pdf viewer

Categories

(Firefox :: PDF Viewer, defect)

Desktop
All
defect

Tracking

()

VERIFIED FIXED
104 Branch
Tracking Status
firefox-esr91 --- unaffected
firefox-esr102 --- fixed
firefox102 --- unaffected
firefox103 + verified
firefox104 --- verified

People

(Reporter: csasca, Assigned: calixte)

References

(Regression)

Details

(Keywords: regression)

Attachments

(6 files)

Attached image barcode pdf missing.gif

Found in

  • Firefox 103.0b6

Affected versions

  • Firefox 103.0b6
  • Firefox 104.0a1

Affected platforms

  • Windows 7
  • macOS 11.6.7
  • Ubuntu 22.04

Steps to reproduce

  1. Launch Firefox
  2. Access this pdf and scroll to the second page

Expected result

  • The barcode lines and the "add image here" placeholder are visible

Actual result

  • The barcode lines and the "add image here" placeholder are missing

Regression range

  • Will see for a regression

Additional notes

  • The issue can be seen in the attachment
  • The barcode and image placeholder are rendered in print preview as expected
Has STR: --- → yes
Assignee: nobody → cdenizet
Status: NEW → ASSIGNED

There are several issues with this pdf:

  • there are several annotations on page 2 which are not rendered;
  • the barcode isn't rendered correctly because we don't use the font from the pdf to render text content in the textfield.

For now I'll fix the first issue, about the second it's a known bug:
https://github.com/mozilla/pdf.js/issues/13329

Attached video 2022-07-08_15h47_30.mp4

Also related to this pdf, the "Reason for Leaving" checkboxes don't work. Just let me know if this is a known issue or I should file a new bug for it.
Thanks.

:Alin, yep it's what I meant by "there are several annotations on page 2 which are not rendered".

QA Whiteboard: [qa-regression-triage]
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED

Comment on attachment 9285633 [details]
Bug 1778692 - [Annotation] A push button can have no action.

Beta/Release Uplift Approval Request

  • User impact if declined: Missing text on some PDFs (see duplicate bug).
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Very minor change, has good upstream test coverage, already verified on Nightly.
  • String changes made/needed:
  • Is Android affected?: No
Attachment #9285633 - Flags: approval-mozilla-beta?

Comment on attachment 9285633 [details]
Bug 1778692 - [Annotation] A push button can have no action.

Approved beta uplift request, available on the beta channel with 103.0 RC1.

Attachment #9285633 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Flags: qe-verify+
QA Whiteboard: [qa-regression-triage] → [qa-triaged] [qa-regression-triage]

It seems that now both on latest Nightly And 103.0 Firefox the issue is not fixed, but the behavior is slightly modified.
A string of "0" is now displayed.

Please see attached GIF.

Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Attached image Stringof0s.gif

This was the case with older versions too, could you file a separate bug? We will use this bug only to track the regression of some elements not being rendered at all.

Status: REOPENED → RESOLVED
Closed: 2 years ago2 years ago
Resolution: --- → FIXED
See Also: → 1780548

Considered as "Verified - Fixed" since another issue was opened.

Status: RESOLVED → VERIFIED

Based on previous comments, the remaining issue will be verified in bug 1780548. Updating the flags accordingly.

QA Whiteboard: [qa-triaged] [qa-regression-triage] → [qa-regression-triage]
Flags: qe-verify+
Depends on: 1780839
Target Milestone: --- → 104 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: