Text selection in PDFs is barely visible
Categories
(Firefox :: PDF Viewer, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| relnote-firefox | --- | 154+ |
| firefox-esr115 | --- | wontfix |
| firefox-esr140 | --- | wontfix |
| firefox122 | --- | wontfix |
| firefox123 | --- | wontfix |
| firefox124 | --- | wontfix |
| firefox149 | --- | wontfix |
| firefox150 | --- | wontfix |
| firefox151 | --- | wontfix |
| firefox152 | --- | wontfix |
| firefox153 | --- | verified |
| firefox154 | --- | verified |
People
(Reporter: calixte, Unassigned)
References
Details
(Keywords: access, Whiteboard: [pdfjs-accessibility])
Attachments
(3 files)
STR:
- switch to HCM
- open a pdf with some text
- select some text
A way to fix this bug is to draw the rectangles in a svg element in order to be able to apply a filter to have the correct colors for the background and the foreground.
That said it makes the highlighting feature hard to use in HCM.
Updated•2 years ago
|
Comment 1•2 years ago
|
||
We probably want to use the system color SelectedItem for the background and SelectedItemText for the foreground to communicate the selected state of the text and ensure the expected by the user color combination is respected too. Just in case, the reference in Figma (SSO login needed)
Updated•2 years ago
|
Comment 2•4 months ago
|
||
Comment 3•4 months ago
|
||
Rewording the title because this is not only about HCM.
Updated•4 months ago
|
Comment 4•4 months ago
|
||
Release Note Request (optional, but appreciated)
[Why is this notable]: Vastly improved visual indication of selected text on PDFs, matching the behavior Firefox has on web pages.
[Affects Firefox for Android]: Yes.
[Suggested wording]: Text selected in PDFs is now highlighted clearly like in normal web pages. The selection color also follows OS settings like high-contrast mode.
[Links (documentation, blog post, etc)]: N/A
Updated•3 months ago
|
Updated•2 months ago
|
Comment 5•2 months ago
|
||
Note added to our 153 nightly release notes in the Changed section with this wording:
Text selected in PDFs is now highlighted clearly like in normal web pages. The selection color also follows OS settings like high-contrast mode.
I am keeping the relnote-firefox? flag set until we include this note in our final 153 release notes, thanks.
Updated•2 months ago
|
Updated•2 months ago
|
Comment 6•1 month ago
|
||
I am keeping the
relnote-firefox?flag set until we include this note in our final 153 release notes, thanks.
(Change of internal process)
Updated•1 month ago
|
Updated•1 month ago
|
Issue is reproducible on Firefox 152.0 on Windows 10.
Verified as fixed on Firefox Nightly 154.0a1 and Firefox 153.0b1 - with both HCM enabled/disabled -on Windows 10 and Ubuntu 22.
However, on macOS, the highlight is more subtle and the text is harder to read compared to Windows/Ubuntu, as seen in the attached screenshot.
Should we file a bug for macOS for this particular scenario ?
| Reporter | ||
Comment 8•1 month ago
|
||
Should we file a bug for macOS for this particular scenario ?
:oardelean, yes please.
Thank you!
I have logged bug 2048531 as a follow-up for macOS.
Marking the bug as verified based on Comment 7.
Comment 10•19 days ago
|
||
Deactivated in 153.0b13, new target is 154.
Description
•