PDF text selection no longer visible in screenshots
Categories
(Firefox :: PDF Viewer, defect, P3)
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)
|
40.37 KB,
image/png
|
Details |
STR:
- Launch latest Nighly 154.0a1.
- Open a PDF and make a text selection.
- Right-click > Take Screenshot > Download.
- 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.
Comment 1•2 months ago
|
||
Are you sure this is due to backdrop-filter? I see it being none here, it seems only used in High Contrast Mode...
Comment 2•2 months ago
|
||
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.
Comment 3•1 month ago
|
||
The severity field is not set for this bug.
:calixte, could you have a look please?
For more information, please visit BugBot documentation.
Comment 4•1 month ago
|
||
The new highlighting has been disabled in bug 2054471 for 153.
Updated•1 month ago
|
Updated•17 days ago
|
Description
•