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

Issue 847966 link

Starred by 3 users

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Jun 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Bug



Sign in to add a comment

Views: Bookmarks Menu Hover Issue

Project Member Reported by spqc...@chromium.org, May 30 2018

Issue description

1) Create a bookmark folder with a ton of items (to the point the bookmarks menu will have to be scrolled)
2) Open the bookmark folder's menu via the bookmarks bar
3) Hover one of the items
4) Scroll down

Expected result:
The item the mouse is now hovered on is highlighted

Actual result:
The old item is still highlighted. The item the mouse is on is not.


This occurs on MacViews/Windows/Linux
 
Screen Shot 2018-05-30 at 12.04.45 PM.png
4.8 MB View Download
Labels: -Pri-1 M-69 MacViews-Browser Target-69 Pri-2
Owner: lgrey@chromium.org
Status: Assigned (was: Untriaged)
lgrey@, over to you :)
Cc: lgrey@chromium.org
Owner: spqc...@chromium.org
I'm taking this. I have a fix in  Issue 847964  that should also fix this.
Let me know if you want this back
Project Member

Comment 3 by bugdroid1@chromium.org, Jun 13 2018

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

commit 69beedd1cf95cbed38c32c2b8b8fa47569a5e2a4
Author: spqchan <spqchan@chromium.org>
Date: Wed Jun 13 18:01:19 2018

[Views] Fix Menu Tooltip and Hover Issue

There was an issue with the menu where if you scroll
down it, the selected item and tooltip doesn't get
updated. This CL address the issue by updating the
selection on a mouse wheel event.

On Mac, there is an issue where the incorrect tooltip
is shown on the menu item. This issue happened because
the tooltip manager doesn't get updated for mouse events
on the Views menu. This CL fixes the issue by calling
-updateTooltipIfRequiredAt: at -scrollWheel: and
-processCapturedMouseEvent:.

Bug:  847966 ,  847964 
Change-Id: I183de9a5a824ab5798957a3432da1962d65b75ca
Reviewed-on: https://chromium-review.googlesource.com/1097739
Reviewed-by: Avi Drissman <avi@chromium.org>
Commit-Queue: Sarah Chan <spqchan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#566909}
[modify] https://crrev.com/69beedd1cf95cbed38c32c2b8b8fa47569a5e2a4/ui/views/cocoa/bridged_content_view.mm
[modify] https://crrev.com/69beedd1cf95cbed38c32c2b8b8fa47569a5e2a4/ui/views/controls/menu/menu_controller.cc

Status: Fixed (was: Assigned)
Labels: TE-Verified-M69 TE-Verified-69.0.3461.2
Able to reproduce the issue on chrome version 68.0.3440.0
Verified the fix on Mac 10.12.6, Windows-10 & Ubuntu 14.04 on Chrome version #69.0.3461.2 as per the comment#0
Attaching screen cast for reference.
Observed "The item on which mouse is hovered is highlighted"
Hence, the fix is working as expected.
Adding the verified label.

Thanks!
847966.mp4
1.1 MB View Download

Sign in to add a comment