New issue
Advanced search Search tips

Issue 700181 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 3
Type: Bug



Sign in to add a comment

System dialog prints differently from print preview link

Project Member Reported by rbpotter@chromium.org, Mar 9 2017

Issue description

Chrome Version: 56.0.2924.87
OS: Win10

What steps will reproduce the problem?
(1) Open a webpage and use ctrl + shift + p to open the system dialog.
(2) Select "landscape" in Printing Preferences.
(3) Print (to XPS document writer or a local printer)
(4) From the same page, use ctrl + p to open print preview and set the orientation to portrait.
(5) Click the "Print with system dialog" link in the print preview dialog
(6) Again select landscape in printing preferences from the system dialog
(7) Print

What is the expected result?
Printed output in (3) and (7) should match

What happens instead?
Printed output in (7) is portrait oriented (but rotated in view if viewed in XPS document viewer). Printed output in (3) is landscape as expected.

Note a similar effect occurs if you print preview to a one page size, then use the system dialog and set the page size to something different. The page is still laid out for the page size used in preview.

It appears that once we lay out the page for print preview we do not re-do the layout when we print later from the system dialog. In order to make the results of printing from system dialog the same either way, we should re-layout when printing from system dialog after preview in case there are new settings.

This definitely occurs on Windows, should check what happens on other OSes.
 
Owner: namratakannan@chromium.org
Some additional context here:
1) This is different from the behavior on Mac and Linux. On these platforms, printing with the system dialog works the same from Print Preview or from the original page.
2) The reason for the difference is that the link triggers the system dialog on the original webpage in Mac/Linux but triggers the system dialog on the Print Preview PDF for Windows - on Windows we "print" the document and send it to the system dialog for further modification.
3) The intent appears to have been to provide a way to configure printer options not surfaced in Print Preview during an effort to remove the system dialog printing path from Chrome. It is unclear why this was only done on Windows. See https://crrev.com/480303002  for the CL that changed this and  https://crbug.com/374321  for the bug with more context. This effort was later abandoned and CLs removing the path and corresponding flags were reverted.
4) There are currently no plans to remove the system dialog printing path, as it is extensively used by enterprise users.

Assigning to namratakannan for UX input, specifically:
1) Whether behavior on different platforms should be unified
2) If so, which behavior we should use
3) If not, whether the link should have different text on Windows vs Mac/Linux, to clarify that it is doing something different.
Status: Assigned (was: Available)

Sign in to add a comment