Open Bug 1746679 Opened 3 years ago Updated 2 years ago

PDF viewer UI wrong theme with privacy.resistFingerprinting

Categories

(Firefox :: PDF Viewer, defect)

Firefox 95
Desktop
All
defect

Tracking

()

Tracking Status
firefox-esr91 --- unaffected
firefox95 --- wontfix
firefox96 --- wontfix
firefox97 --- fix-optional

People

(Reporter: voruti, Unassigned)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression, Whiteboard: [pdfjs-integration])

Attachments

(1 file)

Attached image comparison.jpg (deleted) —

Steps to reproduce:

preparation:

  • fresh Windows-Sandbox on Windows 10
  • open Edge, download and install the latest Firefox (currently version 95)
  • enable dark theme in "about:addons"
  • open a PDF file: it uses the dark theme (like expected)

bug:

  • change "privacy.resistFingerprinting" to "true" in "about:config"
  • switch back to the PDF file: the UI uses the white theme (which seems wrong; see attached screenshot)

Actual results:

The PDF viewer UI is using a white theme, despite everything else is set to dark mode.
When changing "privacy.resistFingerprinting" to "false", the PDF viewer UI is using the dark theme - like expected.

Bug discovered at https://www.reddit.com/r/FirefoxCSS/comments/rbvlcz/comment/hoyonet

Expected results:

I expect the PDF viewer UI to be in dark mode even with "privacy.resistFingerprinting" set to "true".

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

Component: Untriaged → Theme
Component: Theme → PDF Viewer
OS: Unspecified → Windows 10
Hardware: Unspecified → Desktop

confirming with Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:97.0) Gecko/20100101 Firefox/97.0 Build: 20211217212339

Status: UNCONFIRMED → NEW
Ever confirmed: true

I was able to reproduce this issue also on MacOS 11.6

I'm setting the flags where the issue is reproducible.

Voroti, could you use mozregression in order to find the Bug that introduced this?
The issue does not occur on ESR 91.

You can download the mozregression-tool from here:
https://mozilla.github.io/mozregression/

Thank you!

Flags: needinfo?(voruti)
OS: Windows 10 → All

First time using the mozregression-tool, here is what it gave me:
https://phabricator.services.mozilla.com/D128611

Flags: needinfo?(voruti)

Thanks!

Regressed by: 1736038
Has Regression Range: --- → yes

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

For more information, please visit auto_nag documentation.

Flags: needinfo?(bdahl)
Severity: -- → S4
Flags: needinfo?(bdahl)
Whiteboard: [pdfjs-triage-needed]
Whiteboard: [pdfjs-triage-needed] → [pdfjs-integration]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: