Closed Bug 2082991 Opened 1 month ago Closed 1 month ago

[Win]Missing gray data series lines in graph printing when Skia GDI preference is enabled

Categories

(Core :: Printing: Output, defect, P3)

Firefox 160
defect

Tracking

()

VERIFIED FIXED
160 Branch
Tracking Status
firefox-esr153 --- unaffected
firefox158 --- unaffected
firefox159 --- unaffected
firefox160 --- verified

People

(Reporter: rpopovici, Assigned: emilio)

References

(Regression)

Details

(Keywords: regression)

Attachments

(3 files, 1 external file)

Attached image image1.png —

Note: For this test, I used a physical printer: HP OfficeJet 6950.

Found in:
Nightly version: 160.0a1 (2026-10-16)

Affected versions:
Nightly versions: 160.0a1 (2026-10-16)

Tested platforms:
Affected platforms: Windows 10

Preconditions:
Make sure that the pref 'print.windows.skia-gdi.enabled' is set to true.

Steps to reproduce:

  1. Open this PDF(http://www.pdf995.com/samples/pdf.pdf).
  2. Press the printer icon from the PDF.
  3. Print the last PDF file with a graphical representation.
  4. Compare the actual print(pref on) and a print with preff off.

Expected result:
Both graphs should render all gray data series lines identically across image1(pref on) and image2(pref off).

Actual result:
The first graph on the left side of image1(pref on) fails to render the full set of gray data series lines, whereas the corresponding graph on image2(pref off) displays them correctly. Please see the attachment.

Regression range:
Not a regression from the recent implementation.

Attached image image2.png —
Has STR: --- → yes
QA Whiteboard: [QA-5850][qa-found-in-c160][S3]
Blocks: 2079470
Summary: Missing gray data series lines in graph printing when Skia GDI preference is enabled → [Win]Missing gray data series lines in graph printing when Skia GDI preference is enabled

Does it happen when printing using Microsoft print to PDF as well out of curiosity?

Flags: needinfo?(rpopovici)

Here is the printing via 'Microsoft print to PDF' (pref enabled).

Flags: needinfo?(rpopovici)
Flags: needinfo?(emilio)

Loosely based on _cairo_win32_printing_surface_stroke. This makes sure
that these lines remain on the output. Without this change, they go as
a clipped fill, and rounding makes them fade / disappear.

Assignee: nobody → emilio
Status: NEW → ASSIGNED
Flags: needinfo?(emilio)
Severity: -- → S3
Priority: -- → P3
No longer blocks: 2079470
Keywords: regression
Regressed by: 2079470

Set release status flags based on info from the regressing bug 2079470

Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 160 Branch

Verified as fixed in Nightly 160.0a1(2026-10-19) using Windows 10.

QA Whiteboard: [QA-5850][qa-found-in-c160][S3] → [QA-5850][qa-found-in-c160][S3][qa-verif-done-c160]
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: