Closed Bug 1851498 Opened 1 years ago Closed 1 year ago

FreeText annotation isn't displayed

Categories

(Firefox :: PDF Viewer, defect, P1)

Firefox 119
defect

Tracking

()

VERIFIED FIXED
Tracking Status
firefox-esr102 --- unaffected
firefox-esr115 --- unaffected
firefox117 --- wontfix
firefox118 --- wontfix
firefox119 --- verified
firefox120 --- verified

People

(Reporter: calixte, Assigned: calixte)

References

(Regression)

Details

(Keywords: regression)

Attachments

(2 files)

Attached file hello.pdf

STR:

  • open the pdf.

It should display "Hello World" but the page is empty.

The pdf contains a freetext annotation without any contents which implies that no popup will be created for it and consequently the annotation layer doesn't have a section for it. But in order to make the freetext annotations editable, they've their own canvas but this one cannot be inserted in the annotation layer because their parents don't exist.

It's a regression from bug 1838799 and especially from:
https://github.com/mozilla/pdf.js/pull/16535

Set release status flags based on info from the regressing bug 1838799

Attachment #9351463 - Attachment description: [mozilla/pdf.js] Annotations having their own canvas must be rendered (bug 1851498) (#16899) → [mozilla/pdf.js] Inconditionally render non-form annotations in the annotation layer (bug 1851498) (#16899)
Attachment #9351463 - Attachment description: [mozilla/pdf.js] Inconditionally render non-form annotations in the annotation layer (bug 1851498) (#16899) → [mozilla/pdf.js] Unconditionally render non-form annotations in the annotation layer (bug 1851498) (#16899)
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Flags: qe-verify+

Reproducible on a 2023-09-04 Nightly build on macOS 12.
Verified as fixed on Firefox 119.0b3(build ID: 20230929091427) and Nightly 120.0a1(build ID: 20231001214422) on macOS 12, Windows 10, Ubuntu 22.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: