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

Issue 666675 link

Starred by 2 users

Issue metadata

Status: Duplicate
Merged: issue 666432
Owner:
Closed: Nov 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 1
Type: Bug-Regression



Sign in to add a comment

Regression: Print preview abruptly closes on sheets

Project Member Reported by sc00335...@techmahindra.com, Nov 18 2016

Issue description

Version: 56.0.2924.0 dev
OS: Ubuntu 14.04,Windows

What steps will reproduce the problem?
(1)Open any Google sheet and hit ctrl+p for print preview >> Click on print button and observe for preview

Expected: Print preview should stay on clicking print.
Actual: Instead print preview closes abruptly.

This is a regression issue broken in M56.

Manual Bisect Info:
===================
Good Build:56.0.2920.0  dev 
Bad Build:56.0.2922.0  dev  
 
Actual_excel pp.ogv
1.9 MB View Download
Expected_excel pp.ogv
2.8 MB View Download
Probably  bug 666154  ...
Labels: -Needs-Bisect hasbisect-per-revision
Owner: thestig@chromium.org
Status: Assigned (was: Unconfirmed)
Using the per-revision bisect providing the bisect results,
Good build: 56.0.2920.0 (Revision: 432057).
Bad build: 56.0.2922.0 (Revision: 432511).

You are probably looking for a change made after 432352 (known good), but no later than 432353 (first known bad).
CHANGELOG URL:
  https://chromium.googlesource.com/chromium/src/+log/e299953842a5913ea92cfeb6f0079acfb22ea407..aaa2bba38197c0bcaa7cbcf15281ef4f9d568818

@thestig -- Could you please look into the issue, pardon me if it has nothing to do with your changes and if possible please assign it to concern owner.
Thank You.
Labels: ReleaseBlock-Dev OS-Mac
Able to reproduce the issue on Mac OS 10.12 using chrome latest Dev M56-56.0.2924.0. Observed print-preview crashes on google sheets.

Since this is a recent regression marking it as Release block Dev, please feel free to edit if this is not the case.
Cc: reed@chromium.org
+ reed@. As per c#1, this seems to be similar to crbug/666154 ?

Thank you!
I'll take a look just to be sure.
Cc: -reed@chromium.org ekaramad@chromium.org nasko@chromium.org creis@chromium.org
After ruling out all the other bugs, this is still happening due to r432775.

This only reproduces on Chrome because Google Sheets does some user agent detection. I'm pretty sure from the browser's perspective, this is just printing a PDF in some way. Maybe related to one of ekaramad's bugs that I have yet to look at.
The behavior is very similar. I will build locally with my patch and see if it fixes it.
Mergedinto: 666432
Status: Duplicate (was: Assigned)
This is the same as the  issue 666432 .

The problem is that |print_preview_rfh_| in PrintViewManager is not properly set in response to the IPC PrintHostMsg_RequestPrintPreview.

Also, the fix in CL https://codereview.chromium.org/2517493002/ will not fix this since that one is only for guests (MimeHandlerViewGuest). We have to generalize that fix.

I can take another look at this over the weekend to find the right way to address that IPC, in case no one else is interested.

Sign in to add a comment