Closed Bug 1679143 Opened 3 years ago Closed 3 years ago

Print selection is active but displays a blank page for wikipedia banner element

Categories

(Toolkit :: Printing, defect)

defect

Tracking

()

RESOLVED INVALID
Tracking Status
firefox84 --- affected
firefox85 --- affected

People

(Reporter: asoncutean, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [print2020_v85] [old-ui+])

Attachments

(1 file)

Attached image screencast_issue .gif

Affected versions

  • 84.0b4
  • 85.0a1 (2020-11-24)

Affected platforms

  • Windows 10
  • Windows 7
  • macOS 10.15
  • Ubuntu 20.04

Steps to reproduce

  1. Launch Firefox
  2. Make sure print.tab_modal.enabled is set on true
  3. Open https://hi.wikipedia.org/wiki/Special:Search?search=&go=Go
  4. Select the entire banner or text inside it
  5. Right click - Print Selection

Expected result

  • The selection is displayed in Print preview or Print selection option is not available for it

Actual result

  • Print preview is blank

Regression range

  • Not a regression

Additional notes

  • The same outcome results with Print using the system dialog
  • Reproducible on old UI, Selection option is active, but the banner is not displayed at all
  • The banner is also not displayed if opening the modal for the entire page

Suggested severity

  • S3
Has STR: --- → yes

:Anca, if you think that's a regression, then could you try to find a regression range in using for example mozregression?

Unfortunately I think this is the expected behaviour. This element doesn't show up when printing the entire page since it's being hidden using print CSS.

I don't think there's anything we can do about this. I'd imagine we could handle things differently when printing a selection, like maybe forcing the element to still be visible but I'm sure there's a whole bunch of bad stuff that could happen doing that, and it probably wouldn't work in all cases.

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

Attachment

General

Created:
Updated:
Size: