DevTools: capturing screenshot while emulating on a mac results in a lowres image |
||||||
Issue description1) Open DevTools 2) Emulate any device 3) Three dots menu on the emulation toolbar -> Capture screenshot It seems like CGWindowListCreateImage in GrabViewSnapshot produces a lowres image. @ccameron: do you have any hints for me?
,
Apr 27 2016
Tried that, but the view layer is blank. The window's contentLayer gives Chrome frame.
,
Apr 27 2016
Bummer. We were reducing resolution elsewhere along the way... Mac is fine...
,
Apr 27 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/d94011da06615c62c7c20a48359c509f664099ad commit d94011da06615c62c7c20a48359c509f664099ad Author: pfeldman <pfeldman@chromium.org> Date: Wed Apr 27 23:07:12 2016 DevTools: account for client devicePixelRatio while capturing screenshots. BUG= 604966 Review-Url: https://codereview.chromium.org/1928453002 Cr-Commit-Position: refs/heads/master@{#390226} [modify] https://crrev.com/d94011da06615c62c7c20a48359c509f664099ad/third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeView.js
,
May 2 2016
This is a new feature launched in M51, it has a major flaw that was reported against beta. Fix has been running on canary for 3+ days with no issues.
,
May 2 2016
Your change meets the bar and is auto-approved for M51 (branch: 2704)
,
May 2 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/4414b92d098d92322adefeceb1f1b33949aef446 commit 4414b92d098d92322adefeceb1f1b33949aef446 Author: Pavel Feldman <pfeldman@chromium.org> Date: Mon May 02 17:19:59 2016 DevTools: account for client devicePixelRatio while capturing screenshots. BUG= 604966 Review-Url: https://codereview.chromium.org/1928453002 Cr-Commit-Position: refs/heads/master@{#390226} (cherry picked from commit d94011da06615c62c7c20a48359c509f664099ad) Review URL: https://codereview.chromium.org/1936243002 . Cr-Commit-Position: refs/branch-heads/2704@{#333} Cr-Branched-From: 6e53600def8f60d8c632fadc70d7c1939ccea347-refs/heads/master@{#386251} [modify] https://crrev.com/4414b92d098d92322adefeceb1f1b33949aef446/third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeView.js
,
May 4 2016
Tested the same on mac 10.11 chrome version 51.0.2704.36 - capturing screenshot while emulating results in a clear image as shown in the screenshot
,
Jun 20 2016
|
||||||
►
Sign in to add a comment |
||||||
Comment 1 by ccameron@chromium.org
, Apr 26 2016