New issue
Advanced search Search tips

Issue 705199 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Oct 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Android , Windows , Chrome , Mac
Pri: 3
Type: Feature



Sign in to add a comment

take screenshot at multiple dppx resolution

Reported by pdk...@gmail.com, Mar 25 2017

Issue description

Chrome Version: 57.0.2987.93

The device toolbar has an option to capture a screenshot, which does as advertised. It'd be very useful if DPR was taken into account.

Example: Set device resolution to 500x500 and DPR to 2. Take screenshot. If you have done so on a 1x device (such as a regular monitor), the screenshot taken is 500x500. Instead it should be 1000x1000, as rendered on a 2x device. Or 1500x1500 when DPR is set to 3.

In addition, an option perhaps titled Capture Page should be added, which takes a screenshot of the whole page. This can already be done through other means, but not with DPR taken into account.

 
Components: Platform>DevTools>Mobile
Labels: -Type-Bug OS-Android OS-Chrome OS-Linux OS-Mac OS-Windows Type-Feature
Status: Untriaged (was: Unconfirmed)
me too

Owner: dgozman@chromium.org
Status: Assigned (was: Untriaged)
This would be really hard to implement, since we render on the host device with DPR being the host one.

See  issue 638281  for full-page.

Comment 5 by pdk...@gmail.com, Apr 29 2017

I was surprised to notice that FF implements this.
Status: Fixed (was: Assigned)
This is actually fixed - we now do special preparation before capturing screenshots, so it gets DPR of emulated device.

Comment 7 by pdk...@gmail.com, Oct 5 2017

​Do you have a CL? Just want to know into which release this got.​

Comment 9 by pdk...@gmail.com, Oct 5 2017

​Works! I was still on an earlier version. What I noticed is that it
briefly flashes the cropped page rendered at higher DPR when it takes the
screenshot. It's merely a cosmetic issue, so perhaps not worth mentioning,
and probably unavoidable.

PS. May I suggest a common prefix for the downloaded files, like chrome-%s
or the like. Easier to group. And perhaps a hash as suffix, rather than
numbering them like duplicates.

Sign in to add a comment