New issue
Advanced search Search tips

Issue 866190 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Aug 2
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Chrome , Mac
Pri: 2
Type: Bug



Sign in to add a comment

Don't show omnibox_hover when hovering over page actions, lock icon, bookmarks

Project Member Reported by bettes@chromium.org, Jul 20

Issue description

What is the expected result?
Omnibox hover and bookmark star hover should never appear on top of each other. Don't show the omnibox hover when your cursor is within the 32x32 boundary.

What happens instead?
Both hover states appear, reducing the necessary contrast needed.
 
hover.gif
27.6 KB View Download
Screen Shot 2018-07-20 at 4.35.49 PM.png
128 KB View Download
Labels: -Restrict-View-Google -Hotlist-Teamfood-Feedback Proj-MdRefresh
Owner: jdonnelly@chromium.org
Status: Untriaged (was: Accepted)
Components: UI>Browser>Omnibox
Labels: OS-Chrome OS-Linux OS-Mac OS-Windows
Status: Assigned (was: Untriaged)
The Omnibox hover effect was introduced in  issue 853241 . Maybe it helps.
Labels: Group-Omnibox
Cc: jdonnelly@chromium.org
Owner: orinj@chromium.org
orinj: take a look at how the "Switch to open tab" button reacts to hover. We basically want the same thing here.
Project Member

Comment 5 by bugdroid1@chromium.org, Aug 1

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

commit 2fcc31f365c2d7ab330ef224aeb708969f9bb063
Author: Orin Jaworski <orinj@chromium.org>
Date: Wed Aug 01 00:10:04 2018

[omnibox] Change mouse event handling for omnibox hover

The location bar was getting a hover effect when the mouse
was anywhere within (in omnibox, in bookmarks star, etc.)
but having child view hover effects on top of the location
bar hover effect was interfering with contrast. Now only
the OmniboxViewViews will trigger the location bar hover
effect, and mousing into other children will turn it off.
This ensures contrast and is consistent with the interaction
logic - specifically, the mouse cursor changing to a text
insertion bar and the omnibox becoming clickable for edit.

Bug:  866190 
Change-Id: I7e04131a4a0d0533aeb13842fb6889ecee990750
Reviewed-on: https://chromium-review.googlesource.com/1153976
Commit-Queue: Orin Jaworski <orinj@chromium.org>
Reviewed-by: Justin Donnelly <jdonnelly@chromium.org>
Cr-Commit-Position: refs/heads/master@{#579630}
[modify] https://crrev.com/2fcc31f365c2d7ab330ef224aeb708969f9bb063/chrome/browser/ui/views/location_bar/location_bar_view.cc
[modify] https://crrev.com/2fcc31f365c2d7ab330ef224aeb708969f9bb063/chrome/browser/ui/views/location_bar/location_bar_view.h
[modify] https://crrev.com/2fcc31f365c2d7ab330ef224aeb708969f9bb063/chrome/browser/ui/views/omnibox/omnibox_view_views.cc
[modify] https://crrev.com/2fcc31f365c2d7ab330ef224aeb708969f9bb063/chrome/browser/ui/views/omnibox/omnibox_view_views.h

Status: Fixed (was: Assigned)

Sign in to add a comment