New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 825892 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Chrome , Mac
Pri: 3
Type: Bug



Sign in to add a comment

Viewport width client hint value on navigation request should be computed from the UI window size

Project Member Reported by tbansal@chromium.org, Mar 26 2018

Issue description

Currently, the value of the viewport width on the main frame request is computed from the size of the primary display. However, when the Chrome window is not maximized, this value may be different than the actual viewport width.

To compute the correct viewport width on main frame requests, the navigation request has to be tied to the UI window that initiated the request. From there, the navigation request can compute the actual window size.
 
Cc: igrigo...@chromium.org y...@yoav.ws
Cc: igrigo...@google.com
Labels: OS-Chrome OS-Linux OS-Mac OS-Windows
A consequence of this bug is that the viewport value on main frame requests is incorrect when Chrome Devtools is being used to do device simulation. In that case as well, the viewport size does not match the primary display screen size.
Summary: Viewport width client hint value on navigation request should be computed from the UI window size (was: Viewport width client hint value on main frame requests is incorrect when Chrome window is not maximized)
Another consequence of the bug is that when multiple monitors are in use, then the viewport size of the tab (aka Chrome window) may not match the primary display screen size.
Owner: tbansal@chromium.org
Status: Assigned (was: Untriaged)
loading triage: tentatively assigned to tbansal since he was fixing similar issues.

tbansal@, feel free to release this if you have no plan to work on this.
Cc: tbansal@chromium.org
Owner: ----
Status: Available (was: Assigned)
Unassigning myself since I may not have time to work on it in the near future.

Sign in to add a comment