Closed Bug 1676870 Opened 3 years ago Closed 3 years ago

Printing does not respect current scroll position of scrollable elements [was: Content displayed in print preview is not accurate for some pages]

Categories

(Core :: Printing: Output, defect)

defect

Tracking

()

RESOLVED DUPLICATE of bug 659715
Tracking Status
firefox83 --- affected
firefox84 --- 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

  • 83.0
  • 84.0a1 (2020-10-28)

Affected platforms

  • Windows 10
  • macOS 10.15
  • Ubuntu 18.04

Steps to reproduce

  1. Launch Firefox
  2. Open https://bug1241394.bmoattachments.org/attachment.cgi?id=8710335 and scroll down to the stamp icon
  3. Open Print preview

Expected result

  • The page is either displayed in print preview entirely or at least respects the scrolling position

Actual result

  • Print preview displays the top of the page

Regression range

  • Not a regression, reproducible way back to Fx 48.0a1

Additional notes

  • Old UI is affected as well

Suggested severity

  • S4 since it is more an edge case scenario
Has STR: --- → yes

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

For more information, please visit auto_nag documentation.

Flags: needinfo?(mats)

The basic issue here seems to be that print (preview) displays scrollable areas at their initial scroll position, not using the current scroll position on the page. E.g. load https://www.w3.org/TR/wai-aria-practices-1.1/examples/listbox/listbox-scrollable.html, and scroll down the list of elements, then bring up the print preview panel: the top of the list is displayed.

Both Chrome and Safari render the scrolled list at its current scroll position in their print preview. That's probably more in line with user expectations when printing something like this.

Severity: -- → S3
Component: Print Preview → Printing: Output
Summary: Content displayed in print preview is not accurate for some pages → Printing does not respect current scroll position of scrollable elements [was: Content displayed in print preview is not accurate for some pages]
See Also: → 1686737
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
Flags: needinfo?(MatsPalmgren_bugz)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: