Closed Bug 1849555 Opened 2 years ago Closed 2 years ago

Glitches in print preview while rapidly clicking the "Print backgrounds" option

Categories

(Core :: Web Painting, defect)

defect

Tracking

()

RESOLVED WONTFIX
Tracking Status
firefox-esr102 --- wontfix
firefox-esr115 --- wontfix
firefox116 --- wontfix
firefox117 --- wontfix
firefox118 --- fix-optional

People

(Reporter: cgeorgiu, Unassigned)

Details

(Keywords: regression)

Attachments

(4 files)

Found in

  • Beta 117.0b9

Affected versions

  • latest Nightly 118.0a1
  • latest Beta 117.0b9
  • RC 116.0.3

Tested platforms

  • Affected platforms: Win 11 x64, macOS 11, Ubuntu 22.04 x64

Steps to reproduce

  1. Launch Firefox.
  2. Navigate to https://mmec.ca/public-calendar/.
  3. Open the print preview.
  4. From the "More settings" option, rapidly click on the "Print headers and footers" or " Print backgrounds" checkboxes.

Expected result

  • No glitches can be observed in the print preview.

Actual result

  • Glitches can be observed in the print preview. A pink background flashes on the calendars that are displayed in the print preview.

Regression range

I'm not sure which bug is the culprit looking at the changelog, maybe Bug 1745262. Unfortunately, I cannot go further with the bisection, I'm getting an error in mozregression saying that it can't find any other builds.

Additional notes

  • Please observe the screencast with the issue.
Has STR: --- → yes

I don't know what would cause this, but the page appears to have the same behaviour which makes me think the issue is on the site (sort of seems like the colour indicates a loading state?)

Flags: needinfo?(mstriemer)
Attached image image.png

The page also has a print disclaimer in the HOVER ... text that it might not print properly

Attached image image.png

And Chrome is totally busted with backgrounds on.

Really seems like something odd on the site, dunno if it should be fixed on our end but the print preview does accurately reflect the site and looks like it would print fine in Firefox

Attached image image.png

And Safari (which is suggested for some reason) with backgrounds on

Looks like we're the only browser that can print this page, seems like a WONTFIX to me

Regression range

I'm not sure which bug is the culprit looking at the changelog

I think the culprit in that push log was bug 1732358, which enabled fission by default on Nightly.

What's happening here is: with fission enabled, we're now painting the iframe's contents (the calendar) asynchronously from the rest of the document, since it's rendered in a separate process. The flash of pink is the background of the element in the outer document that the iframe is covering up. And the iframe itself is transparent, so until we have its actual content (from Google Calendar) to render, then the pink content from the outer document shows up. In other words: when we repaint the document, we don't necessarily have the iframe content available to be painted right at the same time as the rest of the outer document, so you may see whatever is "covered up" by the iframe for a period of time.

So this is essentially just an instance of Fission causing iframe contents to be rendered asynchronously, which is noticeable but to-be-expected.

I'm reclassifying as Web Painting, and calling it WONTFIX since I think this is expected-behavior-with-fission.

Status: NEW → RESOLVED
Closed: 2 years ago
Component: Printing: Output → Web Painting
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: