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

Issue 849748 link

Starred by 2 users

Issue metadata

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



Sign in to add a comment

[Mac] Chrome Mac should respect Appkit tooltip timeout

Project Member Reported by shrike@chromium.org, Jun 5 2018

Issue description

Chrome 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.

 

Comment 1 by shrike@chromium.org, Jun 11 2018

Labels: MacViews-Browser Proj-MacViews

Comment 2 by tapted@chromium.org, Jun 12 2018

Cc: spqc...@chromium.org
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.

Comment 3 by shrike@chromium.org, Jun 12 2018

Status: WontFix (was: Untriaged)
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