Resizing the host window doesn't update the cros display metrics on desktop. |
||
Issue description1) 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
,
Feb 28 2018
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 |
||
Comment 1 by osh...@chromium.org
, Jan 23 2018