Bottom edge of a panel window is not following the top of the shelf when shelf is auto-hidden |
|||||||
Issue descriptionVersion: 54.0.2830.0 OS: Chrome OS What steps will reproduce the problem? (1) Open a panel (e.g. hangouts or a calculator - https://chrome.google.com/webstore/detail/simple-calc/mhlialinbkjpnaoeofdfhgglolojllfh) (2) Make shelf auto-hide (3) Observe the bottom edge of the panel What is the expected output? Bottom edge is aligned with the top edge of the shelf which is same as the bottom of the screen. What do you see instead? A gap which exposes a part of the arrow. Looks like the gap is 3-4 pixels. Not sure if this is a regression from the immersive screen layout changes. Please use labels and text to provide additional information.
,
Aug 29 2016
,
Sep 9 2016
This is because we use the top of the shelf bounds here: https://cs.chromium.org/chromium/src/ash/common/wm/panels/panel_layout_manager.cc?type=cs&q=PanelLayoutManager::Relayout()&sq=package:chromium&l=601 Shelf bounds include the transparent area that is necessary for the gestures and mouse events to be detected (this allows the shelf to get exposed when a mouse is moved to the bottom of a screen). So we need to find a way to adjust for the additional 3 pixel inset (kShelfAutoHideSize) that is causing this misalignment.
,
Oct 24 2016
,
Feb 22 2017
,
Aug 30 2017
Oshima, are we going to deprecate panels?
,
Aug 30 2017
,
Aug 1
|
|||||||
►
Sign in to add a comment |
|||||||
Comment 1 by tdander...@chromium.org
, Aug 22 2016786 KB
786 KB View Download