New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 603443 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Mar 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 3
Type: Bug-Regression



Sign in to add a comment

Regression: Compose window of gmail appear weird in print preview.

Reported by lpa...@etouch.net, Apr 14 2016

Issue description

Chrome Version: 51.0.2704.7 a8bebc2b0cd3e3018b7c9f6ac698f04dd226abba-refs/branch-heads/2704@{#48} 32/64 bit
OS: All (Win 7 Aero-Enabled) 

Steps:
1. Launch chrome and navigate to https://www.google.com/intl/en/mail/help/about.html
2. Sign in to gmail using valid credentials.
3. Click on 'COMPOSE' >> Fullscreen icon, now give print command (Ctrl+P).
4. Change the layout to 'Landscape' and observe the print preview.

Actual: Compose window appear weird in print preview.

Expected: Compose window should be properly seen in print preview.

This is a regression issue broken in M-48.

Manual regression range:
Good Build: 48.0.2544.0
Bad Build: 48.0.2546.0 

Note: No build is available between this range.

Narrow Bisect:
https://chromium.googlesource.com/chromium/src/+log/8fc5ec7879e78806a00e6755e4bd8ab0ffd07df2..615479bb713dd274decd8facfb2694fffe83a372?pretty=fuller&n=100

Suspecting: r356041

Note: Issue is seen in both 'Portrait' and 'Landscape' mode.
 
Actual_PP.png
430 KB View Download
Expected_PP.png
324 KB View Download

Comment 1 by msten...@opera.com, Apr 14 2016

Looks like the browser window size affects print preview here, which is bad, but there's nothing the browser can do about that, really. If the site uses scripts to hardcode box positions based on the browser viewport, that's how it will end up.

Anyway, I haven't seen the same problem as in the screenshot above, but I see something else, which may be the same issue after all. Attaching screenshot.

Looks like we get some undesired pagination here.
gmail-compose-print-preview.png
69.7 KB View Download

Comment 2 by msten...@opera.com, Apr 14 2016

Cc: msten...@opera.com
Owner: ----
Reverting the suspected patch doesn't help. There's no other commits by me in the narrow bisect, so I don't know what caused this.

I seriously believe that GMail needs to use a screen or print media specific stylesheet, though. Letting the viewport affect printing like this is bad. We end up paginating the compose dialog because it gets too tall to fit on one page, which certainly isn't what we want.
Labels: -Pri-1 -M-51 Pri-3
Status: Available (was: Assigned)
mstensho: Do we want to try to do anything to fix this, or is this a case of the webpage being poorly designed for printing? I have a feeling the Gmail compose window was never designed with printing in mind.

Comment 4 by msten...@opera.com, Mar 9 2017

Yeah, I think this needs to be fixed on the GMail side.
Status: WontFix (was: Available)

Sign in to add a comment