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

Issue 639633 link

Starred by 3 users

Issue metadata

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



Sign in to add a comment

Bottom edge of a panel window is not following the top of the shelf when shelf is auto-hidden

Project Member Reported by varkha@chromium.org, Aug 20 2016

Issue description

Version: 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.

 
Screenshot 2016-08-20 at 18.00.03.png
39.5 KB View Download
Screenshot 2016-08-20 at 18.02.29.png
213 KB View Download
Screenshot 2016-08-20 at 18.08.48.png
87.2 KB View Download
The appearance in non-MD is attached.
calc-panel-non-md.png
786 KB View Download
Labels: -M-54 M-55
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.
Labels: -Pri-2 -M-55 Pri-3
Cc: yiyix@chromium.org
Owner: ----
Status: Available (was: Assigned)
Cc: ovanieva@chromium.org osh...@chromium.org afakhry@chromium.org
Oshima, are we going to deprecate panels?

Comment 7 by osh...@chromium.org, Aug 30 2017

Owner: omrilio@chromium.org
Status: Untriaged (was: Available)
Status: Assigned (was: Untriaged)

Sign in to add a comment