Closed Bug 1777895 Opened 2 years ago Closed 2 years ago

PDF viewer doesn't display link text in color

Categories

(Firefox :: PDF Viewer, defect)

Firefox 102
defect

Tracking

()

RESOLVED DUPLICATE of bug 1778068

People

(Reporter: dough, Unassigned)

Details

Attachments

(3 files)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Firefox/102.0

Steps to reproduce:

Open a PDF file or internet link to a PDF file.

Actual results:

Internet links in the PDF file are not displayed in color (usually blue).

Expected results:

All other PDF viewers I have, Mac Preview, Mac Pages and Adobe Acrobat Viewer all display the links in color (blue).

Newest version of Thunderbird (102.0) has the same problem.

MacOS version 11.6.7. "User Agent:" above is wrong.

The Bugbug bot thinks this bug should belong to the 'Firefox::PDF Viewer' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → PDF Viewer

:Doug, could you attach a pdf with a link with an incorrect color ?

Add screen shot of PDF document displayed without the links being colored.

This is the PDF document displayed in the screen shot just uploaded.

I can't reproduce in Firefox 102, 103 and 104 (nightly).
Do you have some specific color settings (in the hamburger menu, Settings > Language & Appearance > Colors) ?

Attached image Color settings

Hi Doug,

I believe using the "use system colors" option causes this, could you uncheck that and see if the links turn blue?

Thanks!

Flags: needinfo?(dough)

You are right, that does fix it...but I am mystified as to why since the setting below "Override the colors specified by the page with your selections above" was set to "Never". Can you help me understand what's going on there?

Flags: needinfo?(dough)

Because of a bug...
For the pdf viewer we rely on the Canvas & CanvasText css values, and I thought they're set only when HCM (High Contrast Mode) is enabled because all what I read about those colors was related to a11y.
Very likely in your case, your system was defining some colors and they were just used as in a HCM context.

Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: