New issue
Advanced search Search tips

Issue 882059 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Nov 21
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug


Participants' hotlists:
shelf-auto-hide


Sign in to add a comment

Tap the wallpaper area will not dismiss the auto hide shelf.

Project Member Reported by minch@chromium.org, Sep 7

Issue description

What steps will reproduce the problem?
(1) Set shelf to "Autohide shelf".
(2) Open a window, keep it as not maximized.
(3) Swipe up to show the shelf.
(4) Tap wallpaper area.

What is the expected result?
Hide shelf.

What happens instead?
Shelf is still shown.


 
Hi Ben, Kejia and Sebastien, What I wrote expected here is right?
You're referring to laptop mode here, right? Sounds correct to me. What happens with mouse in this situation?
Yes, Ben. Mouse move will always hide the shelf.
Thanks, your expected behavior is what I would expect, too. kejiashao@, sgabriel@, thoughts?
I agree. This described expected behavior is correct.
Labels: M-71
Labels: m-72
Bulk moving all M-71 <P-1's to M-72.
Labels: -M-71 -m-71
Status: Started (was: Assigned)
Project Member

Comment 10 by bugdroid1@chromium.org, Nov 21

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

commit b5d22b702903e7bc9b1bc87ffe89b58bfc37c4e7
Author: Min Chen <minch@google.com>
Date: Wed Nov 21 01:41:21 2018

Tap to hide the AUTO_HIDE_SHOWN shelf.

Currently we can see AUTO_HIDE_SHOWN shelf can be hidden when tap inside
some of the apps, e.g, chrome browser. That is because of the window
hierarchy, stacking changes or set bounds for the child windows. Tap
inside of some the apps like "Files" or Wallpaper can't hide the
AUTO_HIDE_SHOWN shelf since we don't have the related logic for TAP
event. This cl adds the logic that tap outside of the AUTO_HIDE_SHOWN
shelf to hide it.


Bug:  882059 , b/119322652
Change-Id: I8fc5b6d06a885a7b77280cbf86de4d830c04a296
Reviewed-on: https://chromium-review.googlesource.com/c/1343511
Commit-Queue: Min Chen <minch@chromium.org>
Reviewed-by: Mitsuru Oshima <oshima@chromium.org>
Cr-Commit-Position: refs/heads/master@{#609885}
[modify] https://crrev.com/b5d22b702903e7bc9b1bc87ffe89b58bfc37c4e7/ash/shelf/shelf.cc
[modify] https://crrev.com/b5d22b702903e7bc9b1bc87ffe89b58bfc37c4e7/ash/shelf/shelf_layout_manager.cc
[modify] https://crrev.com/b5d22b702903e7bc9b1bc87ffe89b58bfc37c4e7/ash/shelf/shelf_layout_manager.h
[modify] https://crrev.com/b5d22b702903e7bc9b1bc87ffe89b58bfc37c4e7/ash/shelf/shelf_layout_manager_unittest.cc

Status: Fixed (was: Started)

Sign in to add a comment