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

Issue 745156 link

Starred by 2 users

Issue metadata

Status: Verified
Owner:
Closed: Jul 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment

New launcher has different behaviors when click "close x" or "backspace" in HALF mode.

Project Member Reported by wutao@chromium.org, Jul 18 2017

Issue description

In the PEEKING mode, tying something to search.

It will expand the launcher from PEEKING mode to HALF.

This time, when you use "backspace" to delete all the text, it will go back to PEEKING. However, if you click "close x" button, it will still in HALF mode.
 

Comment 1 by wutao@chromium.org, Jul 18 2017

Labels: NewLauncherUIV1

Comment 2 by wutao@chromium.org, Jul 18 2017

Components: UI>Shell>Launcher
Cc: -weidongg@chromium.org newcomer@chromium.org
Labels: OS-Chrome
Owner: weidongg@chromium.org
Weidong@, this is related to 735499, would you mind taking it?
Status: Assigned (was: Untriaged)
Sure, I thought it was intended behavior to only clear search box. So it should have the same behavior as that triggered by backspace?
Yes, same behavior because we aren't implementing 0 query state until V2.


Project Member

Comment 6 by bugdroid1@chromium.org, Jul 19 2017

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

commit 33a125276dcaa92d894b6109541e3b91cab1bb66
Author: Weidong Guo <weidongg@chromium.org>
Date: Wed Jul 19 20:58:00 2017

Fix close button wrong behavior in HALF mode

Changes:
1. Makes the launcher go back to PEEKING state when you click close
button in HALF mode.
2. Modifies the corresponding unit test.

BUG= 745156 
TEST=SearchBoxViewFullscreenTest.CloseButtonTest

Change-Id: I12b6743cdf49ddbac254004d053d60db2df602e5
Reviewed-on: https://chromium-review.googlesource.com/576115
Commit-Queue: Weidong Guo <weidongg@chromium.org>
Reviewed-by: Steven Bennetts <stevenjb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#487971}
[modify] https://crrev.com/33a125276dcaa92d894b6109541e3b91cab1bb66/ui/app_list/views/search_box_view.cc
[modify] https://crrev.com/33a125276dcaa92d894b6109541e3b91cab1bb66/ui/app_list/views/search_box_view.h
[modify] https://crrev.com/33a125276dcaa92d894b6109541e3b91cab1bb66/ui/app_list/views/search_box_view_unittest.cc

Status: Fixed (was: Assigned)
Cc: dhadd...@chromium.org
Status: Verified (was: Fixed)
Verified on M62 (dev) build.

Sign in to add a comment