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

Issue 645012 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 699000
Owner:
Last visit > 30 days ago
Closed: Jul 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 3
Type: Bug-Regression



Sign in to add a comment

Regression: Unable to navigate 'Chromium' link of chrome://md-settings/help from print preview

Reported by jshan...@etouch.net, Sep 8 2016

Issue description

Chrome Version: 55.0.2853.0 (Official Build) 1f38554c02bb4e0c9de35a53ce617931d0c3da08-refs/heads/master@{#416812}-32/64 bit
OS: Windows (7,8,8.1,10),Linux (14.04 LTS),Mac OS X(10.10.5, 10.11.4)

Steps:
1. Launch Chrome and navigate to chrome://md-settings/help
2. Give print command, click on 'Chromium' link seen on print preview and observe.

Actual: Unable to navigate 'Chromium' link after clicking on it in print preview.

Expected: Should be able to navigate 'Chromium' link after clicking on it in print preview.

This is a regression issue broken in M-54, below is bisect info.

Good build:55.0.2846.0
Bad build: 55.0.2847.0

Changelog url: (Providing changelog url as issue is not seen on Chromium builds)

https://chromium.googlesource.com/chromium/src/+log/55.0.2846.0..55.0.2847.0?pretty=fuller&n=10000

Suspecting: r416117 ?

Please help to re-assign if your change is not the cause for this issue.
 
Actual_video.mp4
341 KB View Download
Expected_video.mp4
428 KB View Download
Components: UI>Browser>PrintPreview
Correction:
This is a regression issue broken in M-55.
Owner: thestig@chromium.org
I don't think this is related to the change I'd made.
I also looked at change log url to see if I could make a guess -- Lei, can you help route this bug.

I also tried this in a local build and the bug is not happening for me (I'm able to navigate to the link).
I can reproduce with 55.0.2853.0 official, but not with Chromium builds of the same vintage.
Owner: dschuyler@chromium.org
I bisected and it really is r416117. Try doing a Chrome branded but non-official build.

Comment 6 by dpa...@chromium.org, Nov 19 2016

Cc: thestig@chromium.org
I am able to reproduce this bug, but not exactly as described. Clicking on Chromium works just fine, but the other two links don't work.

@thestig: All three links are plain <a> tags. Any ideas what makes 2 of them not work while in print preview?
Cc: halcanary@chromium.org
halcanary@ might be able to look at the output PDF and give you some answers, or point towards Blink and shrug.
The PDF seems okay.  Here's the relevant Page object:

7 0 obj
<</Type /Page
/Resources <</ProcSets [/PDF /Text /ImageB /ImageC /ImageI]
/ExtGState <</G0 8 0 R
/G1 9 0 R>>
/XObject <</X0 2 0 R>>
/Font <</F0 10 0 R
/F1 15 0 R
/F2 20 0 R
/F3 25 0 R
/F4 30 0 R>>>>
/MediaBox [0 0 612 792]
/Annots [<</Type /Annot
/Subtype /Link
/F 4
/Border [0 0 0]
/Rect [255 464 300 475]
/A <</Type /Action
/S /URI
/URI (https://www.chromium.org/)>>>> <</Type /Annot
/Subtype /Link
/F 4
/Border [0 0 0]
/Rect [435 464 529 475]
/A <</Type /Action
/S /URI
/URI (chrome://credits/)>>>> <</Type /Annot
/Subtype /Link
/F 4
/Border [0 0 0]
/Rect [151 443 224 455]
/A <</Type /Action
/S /URI
/URI (chrome://terms/)>>>>]
/Contents 4 0 R
/Parent 6 0 R>>
endobj

Labels: -Pri-2 Pri-3
This appears to be related to the target="_blank" attribute on the link (which opens the link in a new tab or window).

Is it desired that links on the print preview rendering are active links? It seems like an accidental feature. Was it implemented intentionally? If not, should the links be blocked?
Mergedinto: 699000
Status: Duplicate (was: Assigned)
Links should be blocked in print preview. Merging to tracking issue.

Sign in to add a comment