tabs.captureVisibleTab returns double sized images
Reported by
busin...@schreiberklaus.de,
Jun 22 2018
|
|||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36 Steps to reproduce the problem: 1. Have a high resolution dislay and set scaling to 200% 2. Install Plugin 3. Open Context Menu and click Test Plugin. A screenshot of the visible tab will open as an overlay. 4. Look in the chrome console: The first two numbers are window.innerWidth and window.innerHeight. The third and fourth number is naturalWidth and naturalHeight of the screenshot image. It is double sized What is the expected behavior? It should be normal sized, otherwise it has no good quality and all coordinates are wrong, if you edit it in canvas. What went wrong? The width and high of the screenshot is 2x the original size Did this work before? N/A Does this work in other browsers? N/A Chrome version: 67.0.3396.87 Channel: stable OS Version: 10.0 Flash Version: It only happens, if the display scaling in Windows 10 is 200%. If I choose 100% on display scaling, it works like expected.
,
Jun 25 2018
Able to reproduce the issue on Mac 10.13.3, Win-10 and Ubuntu 17.10 using chrome reported version #67.0.3396.87 and latest canary #69.0.3469.2. This is a non-regression issue as it is observed from M60 old builds. Hence, marking it as untriaged to get more inputs from dev team. Thanks...!!
,
Nov 22
** UI Mass triage ** Able to reproduce the issue using latest chrome canary# 72.0.3617.0, hence adding respective labels. Thanks! |
|||
►
Sign in to add a comment |
|||
Comment 1 by krajshree@chromium.org
, Jun 24 2018