RenderWidgetHostView::GetLastScrollOffset() returns inconsistent values on HiDPI screens |
||
Issue descriptionChrome Version: 64.0.3243.0 OS: Win/OSX What steps will reproduce the problem? Call GetLastScrollOffset() on HiDPI screens on a Mac and a Windows computer. The returned values are different for the same scroll amount. What is the expected result? GetLastScrollOffset() should return either screen on view coordinates consistently across all implementations. GetLastScrollOffset() returns the scroll offset either in screen coordinates or in view coordinates on HiDPI screens. It depends on whether IsUseZoomForDSFEnabled() is true or not and this differs by platform. The caller of GetLastScrollOffset() (in cross-platform code) doesn't know which units are used so it cannot convert the values itself. I think RenderWidgetHostViewAura::SubmitCompositorFrame() should convert the last scroll offset value to view coordinates although maybe a different fix is better.
,
Jan 10 2018
This is fixed, right?
,
Jan 10 2018
Yes, fixed, thanks for setting the status. |
||
►
Sign in to add a comment |
||
Comment 1 by bugdroid1@chromium.org
, Oct 30 2017