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

Issue 729366 link

Starred by 2 users

Issue metadata

Status: Duplicate
Merged: issue 561438
Owner:
Closed: Jul 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug



Sign in to add a comment

window.print() in iframe: not working, always print whole page

Reported by javao...@gmail.com, Jun 4 2017

Issue description

Steps to reproduce the problem:
1. a web page containing iframe
2. iframe.contentWindow.print()
3. the whole page will be printed

What is the expected behavior?
only the iframe should be printed.

What went wrong?
the whole page instead of iframe will be printed

Did this work before? N/A 

Chrome version: 58.0.3029.110  Channel: stable
OS Version: 7
Flash Version:
 

Comment 1 by javao...@gmail.com, Jun 4 2017

The issue is on android.
Components: -Blink Internals>Printing

Comment 3 by sgu...@chromium.org, Jun 12 2017

Cc: sgu...@chromium.org ctzsm@chromium.org

Comment 4 by ctzsm@chromium.org, Jun 16 2017

Labels: -Pri-2 Pri-3
Status: Available (was: Unconfirmed)
I can confirm this bug on chrome M58, mark as available. Lower the priority.
Can you try maybe Chrome 54 and see if this regressed?

Comment 6 by sgu...@chromium.org, Jun 16 2017

to me that sounds like a bad user experience.

When you say Chrome M58, is it Chrome on Android M58, or does it include desktop too.

Comment 7 by ctzsm@chromium.org, Jun 16 2017

Re #5, it's reproducible in M44, I think I know the reason behind, https://cs.chromium.org/chromium/src/chrome/browser/printing/print_job_worker.cc?q=print+tab_android.h&dr=CSs&l=226, it always calls the whole tab to print.

Re #6, it's on Android M58, desktop version has no this bug.

Comment 8 by sgu...@chromium.org, Jun 16 2017

Labels: -Pri-3 -Arch-x86_64 Pri-2
Owner: ctzsm@chromium.org
Let's try to fix it soon, please.

Comment 9 by ctzsm@chromium.org, Jun 16 2017

Status: Assigned (was: Available)
sgurun@, SGTM, there are some work regard to this issue is actually needed to implement issue 322303 (WebView window.print()). Also, I think we need to address this issue in WebView as well.
Mergedinto: 561438
Status: Duplicate (was: Assigned)

Sign in to add a comment