Open Bug 2050777 Opened 2 months ago Updated 12 days ago

PDF text selection no longer visible in screenshots

Categories

(Firefox :: PDF Viewer, defect, P3)

Firefox 153
defect

Tracking

()

Tracking Status
firefox-esr115 --- unaffected
firefox-esr140 --- unaffected
firefox-esr153 --- disabled
firefox152 --- unaffected
firefox153 --- disabled
firefox154 --- wontfix
firefox155 --- wontfix
firefox156 --- fix-optional

People

(Reporter: ke5trel, Unassigned)

References

(Depends on 1 open bug, Regression)

Details

(Keywords: regression)

Attachments

(1 file)

STR:

  1. Launch latest Nighly 154.0a1.
  2. Open a PDF and make a text selection.
  3. Right-click > Take Screenshot > Download.
  4. Open saved screenshot file.

Expected:
Text selection visible in screenshot like before.

Actual:
Text selection in screenshot not visible.

Due to screenshot feature not capturing backdrop-filter (Bug 1657997).

Works with pdfjs.enableSelectionRendering = false.

Regression window:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=b4d525759da6b2930dda4922c3895a2c90c1fa17&tochange=4dfbc8ea625093d65508ad8b576548ca96097b00

Regressed by Bug 2041566.

Are you sure this is due to backdrop-filter? I see it being none here, it seems only used in High Contrast Mode...

Flags: needinfo?(ke5trel)

In order to honor Highlight/HighlightText colors, we reimplemented the text selection in using a backdrop-filter (a div with a clip-path has a SVG backdrop filter). It's a real improvement when selecting in HCM and it's a way better too in non-HCM because we've a pretty good contrast now.

Flags: needinfo?(ke5trel)

The severity field is not set for this bug.
:calixte, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(cdenizet)

The new highlighting has been disabled in bug 2054471 for 153.

Severity: -- → S3
Flags: needinfo?(cdenizet)
Priority: -- → P3
See Also: → 2064909
Duplicate of this bug: 2065459
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: