New issue
Advanced search Search tips
Starred by 2 users

Issue metadata

Status: Fixed
Closed: Dec 7
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug

Sign in to add a comment

Issue 908686: Change split indicator size and position with auto-hide shelf

Reported by, Nov 27 Project Member

Issue description

Chrome OS Version: 72.0.3609.3

This is a change from my original guidance. While the split indicators are accurately placed for when the shelf hides, they create a messy overlap of shapes while overview is open (see screenshots below).

Instead, modify the size and position of the splitscreen indicators for auto-hide  shelf enabled to match their sizes when shelf is set to "always show".

Comment 1 by, Dec 3

Labels: -Pri-3 M-73 Pri-2
Status: Assigned (was: Untriaged)
Hi Ben, from the second screenshot, the position of the drag indicator is not correct, I can go to fix it.

For the first screenshot, do you mean that the drag indicator should not have overlap with the shelf? How about after dragged the window into the drag indicator and show the preview area (the area of dragged window where it will be snapped)? Should it have overlap with the shelf? If not, then where should the dragged window be snapped after drag finished? Should it be covered by the auto-hide-shown shelf or just the same as "always shown" shelf?

Comment 2 by, Dec 3

Thanks for filing this Ben. Since auto-hide shelf is always shown in splitscreen and tablet mode. Do you mean just treat it as "always shown" shelf? Then, the drag indicator size and position, the bounds of the snapped window will just the same for "auto-hide" and "always show" shelf. Is this what we want? Thanks.

Comment 3 by, Dec 4

Hey Min, re #2, yes. I'm saying both the indicator and preview area size and positions should be the same, regardless of shelf state. This shouldn't affect snap sizes though, which should still target the full screen height / width layered below the shelf when shelf is set to "autohide".

Comment 4 by, Dec 4

Labels: OS-Chrome
"tablet mode" in #2 should be "overview mode".
Hi Ben, if we keep the indicator and preview area bounds the same regardless of the shelf state (always no overlap with the shelf). Since preview area means where the dragged window will be snapped, it should equal to the snap bounds. If we only change the logic for preview area but keep the logic of snap bounds (still need to consider the shelf state). Then, for auto-hide shelf, the preview area bounds of the dragged window will be different with its final snap bounds. It sounds kind of weird to me based on this point.

Comment 5 by, Dec 5

Hi Ben, I took a video here

For auto-hide shelf, even though the preview area and final snap bounds are different. But I agree that it looks better to make sure preview area has no overlap with the shelf. Let me know if what in the video is what we want or sth else I need to change. Thanks.

Comment 6 by, Dec 5

Hey Min, sorry for the delayed response. Yes, snap bounds and preview area different. The video looks great! It did demonstrate an unrelated issue, though - the shelf should change to the fullscreen opaque shelf without rounded corners after the first app is snapped. I don't know how long it's been like this, but it was something we fixed once before for the original splitscreen launch.

Comment 7 by, Dec 6

Status: Started (was: Assigned)
Thanks Ben. For the shelf rounded corners issue I will go to file another bug for it.

Comment 8 by, Dec 6

Awesome, thanks Min!

Comment 9 by, Dec 7

Project Member
The following revision refers to this bug:

commit 10d413c5cc8a8b471a303e0168d947732f6a1369
Author: Min Chen <>
Date: Fri Dec 07 01:27:36 2018

Make splitview drag indicators always have no overlap with shelf.

See recorded video:

Bug:  908686 
Change-Id: Id9ef51dfa6e399638a328bed6511036335a2c0c5
Reviewed-by: Xiaoqian Dai <>
Commit-Queue: Min Chen <>
Cr-Commit-Position: refs/heads/master@{#614560}

Comment 10 by, Dec 7

Status: Fixed (was: Started)

Sign in to add a comment