cloudtrends / chromiumembedded

Automatically exported from code.google.com/p/chromiumembedded
1 stars 1 forks source link

HandleTooltip() gets fired on every mouse move #231

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently, CEF just passes along the tooltip notifications it gets from 
Chromium. This is less than ideal since HandleTooltip() is getting called for 
all mouse moves (and most of the time with an empty string). CEF is supposed to 
act as a wrapper around Chromium and present a more easy-to-use interface to 
other developers, but the current behavior forces the developer to manually 
keep track of whether a tooltip is displayed for each browser instance.

I see two solutions to this:

 1. Only call HandleTooltip() once when a tooltip should be displayed, and a second time with an empty text string when it should be hidden.

 2. Split HandleTooltip() into two methods, ShowTooltip() and HideTooltip().

I'd personally prefer the latter.

Original issue reported on code.google.com by dreijer...@gmail.com on 12 May 2011 at 5:32

GoogleCodeExporter commented 9 years ago
CEF1 has entered bug-fix-only maintenance mode. See 
http://magpcss.org/ceforum/viewtopic.php?f=10&t=10647 for details. If this 
issue applies to the current version of CEF3 please create a new issue.

Original comment by magreenb...@gmail.com on 11 Oct 2013 at 1:51