Regression: In chrome://policy, unwanted text is seen in Print Preview section.
Reported by
vvishwak...@etouch.net,
Oct 14 2016
|
|||||
Issue descriptionVersion: 55.0.2883.11 Revision 709e70a37ad5ea7e4155b38134d00530605f11bb-refs/branch-heads/2883@{#79}(32/64bit) OS: Windows (7,8,10), Mac (10.10.5, 10.11.4), Linux (14.04 LTS) What steps will reproduce the problem? 1) Launch chrome, go to chrome://policy and click anywhere on the page. 2) Give Print command, in Options section select ‘Selection only’ option. 3) Observe the left side in Preview section. Unwanted text is seen in Preview section. Unwanted text should not be seen in Preview section. This is a Regression issue broken in M-48, below is the bisect info Manual bisect: Good build: 48.0.2552.0 Bad build: 48.0.2553.0 Narrow bisect URL: https://chromium.googlesource.com/chromium/src/+log/40bfc08af48c40b1b76e88754f0d4f10e554bb3d..6b8dbb55a8dc971e5f0b5977f349161e457e35c0?pretty=fuller&n=10 Suspecting: r357309
,
Oct 24 2016
I could not reproduce M53(Stable) and M56(Canary). Print preview doesn't use clipboard. So, FrameSelection::selectedHTMLForClipboard() doesn't relate.
,
Oct 24 2016
With response to comment #2: The above issue is reproducible on latest Canary build no: 56.0.2899.0. Correction in Steps: 1) Launch chrome, go to chrome://policy, click anywhere on the page and press Cmd+A (to select all text). 2) Give Print command, in 'Options' section select ‘Selection only’ option. 3) Observe the left side in Preview section. Please review the attached screencast for reference.
,
Oct 24 2016
>#3 vvishwakarma@, thank for video. Finally I understand the issue. "Filter policies by name"(placeholder) text appeared on the top left corner of the page.
,
Oct 24 2016
> Print preview doesn't use clipboard. So, FrameSelection::selectedHTMLForClipboard() doesn't relate. Please see the mentioned diff: https://codereview.chromium.org/1427733003/patch/1/10007?context=10&column_width=80&tab_spaces=8 There you can see that we use FrameSelection::selectedHTMLForClipboard() for WebLocalFrameImpl::selectionAsMarkup(). We started doing that since they were essentially the same, the only difference was that the former uses the FlatTree selection.
,
Jun 26 2017
I cannot reproduce this on Win 10 on 58.0.3029.110 Stable or 61.0.3141.0 Canary. Is this still an issue? Printing internal chrome pages is not high priority, so reducing from P1.
,
Jul 27 2017
Still not reproducible on 62.0.3168.0. Closing due to lack of feedback. |
|||||
►
Sign in to add a comment |
|||||
Comment 1 by koten...@yandex-team.ru
, Oct 21 2016