ToolbarButton (extension icon, avatar button) menus don't hide with 2nd click |
||||
Issue descriptionChrome Version: 69.0.3446.0 OS: macOS but probably OS=All What steps will reproduce the problem? (0) Enable MD-Refresh (1) Install e.g. Adblock from https://chrome.google.com/webstore/detail/adblock/gighmmpiobklfepjocnamgkkbiglidom (2) Click on the extension icon on the Toolbar, so that its menu appears (3) Click again on the extension icon on the Toolbar, so that its menu disappears What is the expected result? The menu should hide. What happens instead? The menu doesn't hide. A screencast is attached. Thanks, Mehmet
,
May 31 2018
+cc ellyjones@ in case this is interesting to MacViews for some reason.
,
May 31 2018
Issue 848304 has been merged into this issue.
,
May 31 2018
ToolbarActionView and AvatarToolbarButton both inherit from ToolbarButton which is a MenuButton. These are probably the same root cause at least.
,
May 31 2018
Thanks for your feedback. Yes I see this with the Extension Menu also on MacViews, but just like as you've described it in your c#1.
,
May 31 2018
This is the regression range at least for the extension menu under MDRefresh on macOS: https://chromium.googlesource.com/chromium/src/+/8cd88c77b560468f1d41938f8d653fd0a22c4232
,
May 31 2018
,
Jun 11 2018
Seems to be fixed for the Avatar button now - probably with issue 849911 . Would be nice, if it could be fixed for the Extension buttons as well :-) Thanks in advance.
,
Jun 11 2018
Honestly it's kind of wonky. :( Comment #4 of mine is wrong, none of these are MenuButtons so they don't handle click events like menu buttons do but rather ad-hoc. The extension buttons can't use the same behavior as the other ToolbarButtons as the extensions are draggable we can't trigger on-click. Fixing this properly hopefully involves making these buttons MenuButtons or otherwise adopting the same logic somehow instead of trying to ad-hoc mimic it.
,
Jun 13 2018
Hi pbos@, in #566950 the issue with the second click is fixed for the extension buttons. Not sure but maybe fixed by the revert from https://bugs.chromium.org/p/chromium/issues/detail?id=822075#c16 ?
,
Jun 13 2018
,
Jun 13 2018
Yes, this is fixed with that revert. I just couldn't find this bug :)
,
Jun 13 2018
Okay. Thanks for your feedback, bsep@ :) |
||||
►
Sign in to add a comment |
||||
Comment 1 by pbos@chromium.org
, May 31 2018Labels: -Proj-MdRefresh
Summary: Extension icon menu doesn't hide with 2nd click (was: [MdRefresh] Extension icon menu doesn't hide with 2nd click)