New issue
Advanced search Search tips

Issue 804923 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

Resizing the host window doesn't update the cros display metrics on desktop.

Project Member Reported by osh...@chromium.org, Jan 23 2018

Issue description

1) Start chrome for chromeos on linux with 2 displays using --ash-host-window-bounds.
2) Resize the 1st host window (using mouse)
3) drag a window from 1st host window to 2nd.

See the video.

https://drive.google.com/corp/drive/u/0/folders/0Bx_xtqaB0-v0WDBUdmN6UkhmR3M



 

Comment 1 by osh...@chromium.org, Jan 23 2018

Here is the direct link to the video.

https://drive.google.com/open?id=1S4dj5PUeNJ2oWRu2o3o0mjcbQ1uf2k8O
Cc: -afakhry@chromium.org kylec...@chromium.org
Owner: afakhry@chromium.org
I'm probably not the best person to look into this. When the X window is resized WindowTreeHostManager::OnHostResized() is notified.

https://cs.chromium.org/chromium/src/ui/aura/window_tree_host.cc?l=346&rcl=5c51f9ddd9e948cc07c401709757946231ce9649

That looks to work properly, although I guess not every piece of ash is finding out about the new size? I'm not all that familiar with ash internals though. It's also worth noting that WindowTreeHostManager doesn't override OnHostMovedInPixels() which needs to do something similar if the X window gets moved.

afakhry: Can you take a look or triage appropriately.

Sign in to add a comment