Issue metadata
Sign in to add a comment
|
Regression: NTP Background Does Not Follow Zoom Factor
Reported by
rk...@etouch.net,
Mar 18 2016
|
||||||||||||||||||||||
Issue descriptionChrome Version: 51.0.2682.0 Revision 153a9028e5cb73e3c707b4884550499e2a08af5c-refs/heads/master@{#381839}(32/64 bit) OS: Windows(Win-7 Aero Enabled) URL: https://chrome.google.com/webstore/detail/wolf-and-the-ice-planet/gffkhmkbijdmbncaoclaclldnbndflck?hl=en What steps will reproduce the problem? (1) Launch chrome,navigate to above url and click on 'ADD TO CHROME' (2) Open NTP, press ctrl+ and observe. Wearied behavior of page is seen on zoom action after applied theme. No such behavior should seen on zoom action after applied theme. This is a regression This is a regression issue,broken in 'M-51', Manual regression range: Good Build: 50.0.2633.3 Bad Build: 50.0.2634.0 Narrow Bisect: https://chromium.googlesource.com/chromium/src/+log/120a7c8d5e882458dbebd6b302087ccb2cc8ed6f..587840943312698e8de4714d21673788c4eaf16b?pretty=fuller&n=100 Suspecting: r372163 Note: Issue is not seen on Mac OS. @Oshima: Could you please help me to reassign this issue,if your change is not cause for it?
,
Mar 18 2016
Can you tell me the devicePixelRatio you get at https://bjango.com/articles/min-device-pixel-ratio/? (Make sure you reset the zoom to 100%) I couldn't reproduce this on ChromeOS. I'll test it on linux soon. If this indeed caused this, that means that NTP was relying on buggy behavior of image set. I'll look into NTP code then.
,
Mar 18 2016
I couldn't reproduce this on Linux ToT either (51.0.2684.0). I tested with following device scale factors. 1, 1.25, 1.5 and 2. Waiting for the answer for the question above.
,
Mar 23 2016
With respect to comment 4: Issue is not reproducible on Linus using latest chrome 51.0.2688.0, but issue is reproducible on Windows OS.
,
Mar 23 2016
What was your devicePixelRatio? If this only happens on Windows, the root cause could be same as this Windows bug crbug.com/561183 .
,
Mar 23 2016
This bug seems to be specific to a change in behavior of the renderer viewport. 561183 applies to backgrounds in the Chrome Frame. On 561183, NTP was noted to have the correct background scale.
,
Mar 23 2016
It's not about NTP not filling background. It's been this way even before 49. If that's crbug.com/561183 is about a way to handle multiple device scale factors, and this will indeed changes the devicePixelRatio, which can be affected by this bug. (repro step in 561183 does not include that scenario) My current guess is that when you zoom in, it'll change devicePixelRatio to 1, but chrome still loads 2x assets due to that bug, which causes misalignment. I'll try to repro this on Linux by applying the same problem on Linux first. If not, I'll investigate on Windows.
,
Mar 23 2016
I noticed that my comment was incomplete, sorry about that. What I was trying to say is If NTP not filling the content is not expected behavior, we should file a separate bug.
,
Mar 23 2016
Clarifying title after offline discussion.
,
Mar 23 2016
I could reproduce similar behavior on Linux by mimicking Windows device scale factor behavior (similar to what I did in crbug.com/561183 ). However, the patch that worked on Linux did not seem to work. I'll investigate this on Windows.
,
Mar 25 2016
rkote@etouch.net, could you please answer my question about devicePixelRatio? I want to make sure that we're reproducing your issue correctly.
,
Mar 26 2016
By the way, here is the behavior I'm getting. At ~67% scale, the background gets bigger, probably because it keeps returning 2x background image even the image-set requested one for 1x. https://drive.google.com/file/d/0B5h6yCnehPpJMkFyNzEyZlpkQ00/view?usp=sharing and this CL (https://codereview.chromium.org/1825863002/) fixes this behavior.
,
Mar 26 2016
I was testing on 1.5 scale factor. I could reproduce when I test it on 1x. I'll look into it.
,
Mar 28 2016
The same issue but I needed one more change to support 1x -> 2x transition. CL is up for review. https://codereview.chromium.org/1825863002/
,
Mar 30 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/cb8feac7b8a21a9e63b9d20ad58d5a8121c28fb2 commit cb8feac7b8a21a9e63b9d20ad58d5a8121c28fb2 Author: oshima <oshima@chromium.org> Date: Wed Mar 30 22:17:02 2016 Allow windows to use both 100P, 200P assets Theme may use the wrong assets when deviceScaleFactor/devicePixelRatio changes without this change. BUG= 561183 , 596038 Review URL: https://codereview.chromium.org/1825863002 Cr-Commit-Position: refs/heads/master@{#384114} [modify] https://crrev.com/cb8feac7b8a21a9e63b9d20ad58d5a8121c28fb2/ui/base/resource/resource_bundle.cc
,
Mar 30 2016
I'll wait a bit to fully baked on ToT.
,
Apr 2 2016
,
Apr 2 2016
Your change meets the bar and is auto-approved for M50 (branch: 2661)
,
Apr 4 2016
Please merge your change to M50 branch 2661 by 5:00 PM on Monday, 04/04/16 so we can take it for next week beta. Thank you.
,
Apr 4 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/363ef03169c5bc60d3ac1a53a169dcd49aba1f85 commit 363ef03169c5bc60d3ac1a53a169dcd49aba1f85 Author: Mitsuru Oshima <oshima@chromium.org> Date: Mon Apr 04 22:08:34 2016 Allow windows to use both 100P, 200P assets Theme may use the wrong assets when deviceScaleFactor/devicePixelRatio changes without this change. BUG= 561183 , 596038 Review URL: https://codereview.chromium.org/1825863002 Cr-Commit-Position: refs/heads/master@{#384114} (cherry picked from commit cb8feac7b8a21a9e63b9d20ad58d5a8121c28fb2) Review URL: https://codereview.chromium.org/1853403002 . Cr-Commit-Position: refs/branch-heads/2661@{#483} Cr-Branched-From: ef6f6ae5e4c96622286b563658d5cd62a6cf1197-refs/heads/master@{#378081} [modify] https://crrev.com/363ef03169c5bc60d3ac1a53a169dcd49aba1f85/ui/base/resource/resource_bundle.cc
,
Apr 5 2016
Rechecked this on chrome version 51.0.2700.0 on Windows 7. Fix is working as intended. No weird behavior is displayed when performed Zoom operation after applying theme. Adding TE-Verified labels.
,
Apr 6 2016
Tested the issue on Windows 7 using 50.0.2661.66.Observed that weird behavior is not seen on zoom action after applied theme.Please find attached screencast. Marking it as TE-Verified.
,
Apr 7 2016
|
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by ranjitkan@chromium.org
, Mar 18 2016