New issue
Advanced search Search tips

Issue 622702 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner: ----
Closed: May 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug



Sign in to add a comment

Print preview erroneously squishes content

Reported by imnother...@gmail.com, Jun 23 2016

Issue description

Chrome Version       : 51.0.2704.103
URLs (if applicable) : https://deck.zone/embed/-KK43Q9JoAqMIYd5gLj5;scriptId=0;print;tabs=result,code
Other browsers tested:
  Add OK or FAIL, along with the version, after other browsers where you
have tested this issue:
     Safari: FAIL (untestable)
    Firefox: FAIL
         IE: FAIL

What steps will reproduce the problem?
(1) Open print preview
(2) Look at the margins
(3) Notice how out-of-line everything is

What is the expected result?
The content should not be squished by the page margins.

What happens instead?
The content gets squished by the page margins.

Here is my print CSS:
  @media print {
    html, body, .printable, .results-pane, .embed-view {
      width: 8.5in !important;
      height: 11in !important;
    }

    @page {
      size: 8.5in 11in;
      margin-top: 0.25in;
      margin-left: 0.5in;
      margin-right: 0.5in;
      margin-bottom: 0.25in;
    }
  }


I've also posted a relevant question on StackOverflow: http://stackoverflow.com/questions/37908062/print-preview-squishing-content

 
2BYLK.png
84.6 KB View Download
jqWDp.png
88.6 KB View Download
oKdbb.png
93.1 KB View Download

Comment 1 by mmenke@chromium.org, Jun 23 2016

Components: Internals>Printing UI>Browser>PrintPreview
Sorry, but I don't fully understand the problem. Are you trying to say the margins are incorrect, or the cards' aspect ratio is off in some way?
That's ok, it is kinda weird. The margins are correct from my perspective, but what happens is that when I set a right margin, instead of just setting it, it squishes the content erroneously.

This leads into a problem where my math that should be correct seems to not be. My cards are 2.5 inches wide, and the page is 8.5 inches wide, so logically I should be able to have 3 cards (7.5in) and a left and right margin of 0.5 inches, but that doesn't seem to work.
Components: -UI>Browser>PrintPreview
Labels: OS-All
Oh, so you are trying to say the cards aren't coming out as 2.5 inches wide when you print them?
Labels: Needs-Feedback
Is this still an issue in Chrome 58? If so, what OS are you using? Printed the cards on Windows 10 with Chrome 58.0.3029.81 and they came out 2.5 inches wide as expected. Also did a save as PDF and printed from Acrobat reader and had the same result (with both minimum and default margins).
Yes, sorry, this is no longer an issue. It got resolved at some point. Thanks for following up!
Project Member

Comment 7 by sheriffbot@chromium.org, May 2 2017

Cc: rbpotter@chromium.org
Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "rbpotter@chromium.org" to the cc list and removing "Needs-Feedback" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Status: WontFix (was: Unconfirmed)
As per comment#6 changing the status to Wontfix.
Please raise a new issue if you come across the similar on any of the latest chrome versions.

Thanks.

Sign in to add a comment