New issue
Advanced search Search tips

Issue 911880 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Dec 18
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: ----



Sign in to add a comment

Shelf (with fullscreen window) detaches during drag instead of stretching

Project Member Reported by ginko@google.com, Dec 5

Issue description

Chrome Version: 72.0.3623.0
OS: Chrome

What steps will reproduce the problem?
(1) Switch shelf to side shelf
(2) Drag from shelf-side-bezel toward center
(3) Observe as the shelf detaches and comes with you

What is the expected result?
Shelf stretches, but doesn't detach

What happens instead?
Shelf detaches

Bonus Video:
https://photos.app.goo.gl/7pcRv3o95W4qc6NPA
 
I added a video for clarity, Manu! It's in the description
Labels: Pri-2
Summary: Side Shelf (with fullscreen window) detaches during drag instead of stretching (was: Side Shelf detaches during drag instead of stretching)
Thanks Kevin! The video is great. I shall note that this happen when there is a full-screen window, or in tablet mode (I don't think it happens in clamshell mode, with a rounded-cornered-shelf).
Summary: Shelf (with fullscreen window) detaches during drag instead of stretching (was: Side Shelf (with fullscreen window) detaches during drag instead of stretching)
Cc: manucornet@chromium.org weidongg@chromium.org
 Issue 909040  has been merged into this issue.
Arguably, when in this mode (fullscreen, always shown, square cornered shelf), the shelf shouldn't even respond to drags and should stay put.
Hmm, actually, I'm not so sure. I kind of like the "overshoot" effect, even in this mode. I'll start by fixing the obvious visual bug and then consult UX on final polish.
Status: Started (was: Assigned)
FYI sent out fix as CL 382446
Status: Fixed (was: Started)
Project Member

Comment 11 by bugdroid1@chromium.org, Dec 18

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/d38df253571d4c4394c3454353ebc0b7442e95a6

commit d38df253571d4c4394c3454353ebc0b7442e95a6
Author: Manu Cornet <manucornet@chromium.org>
Date: Tue Dec 18 16:20:31 2018

CrOS shelf: extend background to handle overdrag in any condition

Before this CL, we already extend the shelf's opaque background a
bit off screen, so that "over-drag" events don't appear to be tearing
off the shelf from the screen edge.

This CL extends this behavior to "fullscreen" mode (shelf is a little
darker, and has square corners) so that there too we prevent a tearing
effect.

Bug:  911880 
Change-Id: I0e91c83824417027060c75ccdd8fdcf1bdb3ffb5
Reviewed-on: https://chromium-review.googlesource.com/c/1382446
Reviewed-by: Xiyuan Xia <xiyuan@chromium.org>
Commit-Queue: Manu Cornet <manucornet@chromium.org>
Cr-Commit-Position: refs/heads/master@{#617514}
[modify] https://crrev.com/d38df253571d4c4394c3454353ebc0b7442e95a6/ash/shelf/shelf_widget.cc

Probably not serious enough to request a cherry pick into 72.

Sign in to add a comment