My patch uses a preference changed callback to limit reads from the preferences. I'm not sure how much of a performance issue this is, but given that tooltips appear on a mousemove event, I thought it would be prudent to do it this way. I essentially duplicated the functionality that was already there for the "browser.chrome.toolbar_tips" preference.
I wasn't sure what to call the preference, but I ended up calling it "browser.preferences.tooltipHideTime" which might not be the best name in hindsight since it affects all XUL applications.
I did search for a similar bug, but didn't find this one until one of the comments on the bug I submitted pointed me to it.
The proposed patch in Comment #9 would solve the problem, but it's a bit "hacky."
I submitted a proposed patch for this here: https:/ /bugzilla. mozilla. org/show_ bug.cgi? id=461980
My patch uses a preference changed callback to limit reads from the preferences. I'm not sure how much of a performance issue this is, but given that tooltips appear on a mousemove event, I thought it would be prudent to do it this way. I essentially duplicated the functionality that was already there for the "browser. chrome. toolbar_ tips" preference.
I wasn't sure what to call the preference, but I ended up calling it "browser. preferences. tooltipHideTime " which might not be the best name in hindsight since it affects all XUL applications.
I did search for a similar bug, but didn't find this one until one of the comments on the bug I submitted pointed me to it.