[Mac] Chrome Mac should respect Appkit tooltip timeout |
|||
Issue descriptionChrome Version: 69.0.3450.0 OS: macOS 10.13 What steps will reproduce the problem? (1) Innocently move your mouse somewhere and leave it there, like over tab What is the expected result? A tooltip appears after a long delay What happens instead? A tooltip almost immediately appears Chrome should observe the tooltip delay setting in Defaults like all other Mac apps. That setting is NSInitialToolTipDelay.
,
Jun 12 2018
We're using the same tooltip machinery that's used for webcontents (which leans a lot on the native implementation - we don't set our own timers). I think there is no delay if a tooltip is already showing elsewhere, but if you wait for the tooltip to fade out completely, the normal delay should apply. That's how it works for me in a fresh start (i.e. I can't repro this) I think spqchan is already looking at some stuff around tooltips. I have a hunch that it's possible to get some weirdness around tooltips when dragging is involved (or other operations that need capture, like menus), but haven't narrowed down a repro case. It may be something we need to do in processCapturedMouseEvent:, which changed recently in r563316. Specifically, we may be missing out on codepaths in base_view.mm that relate to tooltips when events come in this way.
,
Jun 12 2018
Wow - I apologize for filing this. It turns out I hadn't set a custom value for NSInitialToolTipDelay. Doing so causes the tooltips to leave me alone. Thanks for looking at it. |
|||
►
Sign in to add a comment |
|||
Comment 1 by shrike@chromium.org
, Jun 11 2018