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

Issue 803844 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Jan 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 3
Type: Bug



Sign in to add a comment

`:hover` state lost on right click on MacOS but works on Windows

Reported by daniel.s...@gmail.com, Jan 19 2018

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3319.0 Safari/537.36

Steps to reproduce the problem:
1. In MacOS go to https://www.w3schools.com/howto/howto_css_dropdown.asp
2. Hover over the 'Hover me' and move to 'Link 1', right click. The hover menu disappears
3. Do the same test in Windows, and the hover submenu will stay open. 

What is the expected behavior?
The CSS :hover state should remain, same as in Safari, and Chrome on Windows. The current impact on our end is that users can not right click and copy the link from the submenu. 

What went wrong?
The `:hover` state is lost.

Did this work before? N/A 

Chrome version: 65.0.3319.0  Channel: n/a
OS Version: OS X 10.13.2
Flash Version:
 
Components: -Blink Blink>Input
This is like the inverse of issue 748376

Comment 2 by ajha@chromium.org, Jan 23 2018

Labels: Needs-Triage-M65
Cc: sc00335...@techmahindra.com
Labels: Triaged-ET M-66 FoundIn-66 Target-66
Status: Untriaged (was: Unconfirmed)
Thanks for filing the issue!!

Able to reproduce this issue on reported version 65.0.3319.0 and on latest canary 66.0.3329.0 using steps given in comment#0.

Issue is not seen in Windows and Linux.

This issue is seen from M60[60.0.3072.0]. Hence considering this issue as Non-Regression and marking this as Untriaged.
Cc: dtapu...@chromium.org
Labels: -Pri-2 Pri-3
Owner: eirage@chromium.org
Status: Assigned (was: Untriaged)
Project Member

Comment 5 by bugdroid1@chromium.org, Jan 30 2018

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

commit 0531e1c159fd0e45a8ac33f920374bae89b94cca
Author: Ella Ge <eirage@chromium.org>
Date: Tue Jan 30 17:25:23 2018

send mousemove instead of leave after context menu

This CL changes mac SetShowingContextMenu to send a MouseMove instead
of MouseLeave. And add kRelativeMotionEvent flag in the modifier to
avoid sending the event to DOM.
Sending MouseLeave will cause hover/active state be cleared when open
contextmenu.

Bug:  803844 
Change-Id: I38f2864b108f95a51c6e93536a1b410333fdf50e
Reviewed-on: https://chromium-review.googlesource.com/888092
Reviewed-by: Alexei Svitkine <asvitkine@chromium.org>
Reviewed-by: Dave Tapuska <dtapuska@chromium.org>
Commit-Queue: Ella Ge <eirage@chromium.org>
Cr-Commit-Position: refs/heads/master@{#532931}
[modify] https://crrev.com/0531e1c159fd0e45a8ac33f920374bae89b94cca/content/browser/renderer_host/render_widget_host_view_mac.mm
[modify] https://crrev.com/0531e1c159fd0e45a8ac33f920374bae89b94cca/content/browser/renderer_host/render_widget_host_view_mac_unittest.mm

Comment 6 by eirage@chromium.org, Jan 30 2018

Status: Fixed (was: Assigned)

Sign in to add a comment