New issue
Advanced search Search tips

Issue 661766 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 535287
Owner: ----
Closed: Nov 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 3
Type: Bug



Sign in to add a comment

Rapidly calling showContextMenuAtPoint() after window focus puts context menus in bad state on Mac

Project Member Reported by l...@chromium.org, Nov 2 2016

Issue description

Version: 54.0.2840
OS: Mac OS X

What steps will reproduce the problem?
(1) Open DevTools, undocked into separate window
(2) Open the DevTools drawer with 'Esc' and notice the 3-dot menu in the bottom left
(3) Focus another window
(4) Double click the DevTools drawer's 3-dot menu

What is the expected output?
3-dot menu should still work

What do you see instead?
Any real context menu in DevTools triggered from a click no longer works.

My guess is that there is some issue that is the root cause for this behavior in DevTools.  Alternative repro case:
https://bugs.chromium.org/p/chromium/issues/detail?id=655556

When DevTools receives a click event on the menu button, it calls InspectorFrontendHost.showContextMenuAtPoint(), leading to ContextMenuController::showContextMenuAtPoint().  For some reason, immediately after the window is focused, calling this function twice (double clicking) triggers a bad state.
 
Project Member

Comment 1 by sheriffbot@chromium.org, Nov 3 2017

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available. If you change it back, also remove the "Hotlist-Recharge-Cold" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Mergedinto: 535287
Status: Duplicate (was: Untriaged)
Speculatively merging into Issue 535287

Sign in to add a comment