New issue
Advanced search Search tips

Issue 855572 link

Starred by 2 users

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Bug



Sign in to add a comment

tabs.captureVisibleTab returns double sized images

Reported by busin...@schreiberklaus.de, Jun 22 2018

Issue description

UserAgent: 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.
 
source.zip
1.6 KB Download
Labels: Needs-Triage-M67
Components: UI>HighDPI
Labels: Triaged-ET M-69 Target-69 FoundIn-69 OS-Linux OS-Mac
Status: Untriaged (was: Unconfirmed)
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...!!
Cc: viswa.karala@chromium.org
Labels: Hotlist-DesktopUIChecked Hotlist-DesktopUIValid
** 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