Closed
Bug 419570
Opened 17 years ago
Closed 17 years ago
Tooltip is always visible and always empty
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: alexey.murashkovsky, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9b3) Gecko/2008020514 Firefox/3.0b3
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9b3) Gecko/2008020514 Firefox/3.0b3
The tooltip appears all the time, regardless of the place in the page (e.g. when the mouse is over plain text or even scrollbar) and it is always empty.
Reproducible: Always
Steps to Reproduce:
1. Just start Firefox
Actual Results:
Tooltip is empty
Expected Results:
Tooltip doesn't appear when not needed, contains text when over URL, etc.
Comment 1•17 years ago
|
||
Does it also happen in safe-mode? http://kb.mozillazine.org/Safe_Mode_(Firefox)
Some extensions like Site Advisor can cause this. See https://bugzilla.mozilla.org/show_bug.cgi?id=404122#c14
For me, this was fixed by disabling the Moola Booster Bar. For me though, it was only blank when no tooltip had been displayed. If a tooltip was displayed on another webpage, holding the cursor still anywhere on any page would display it again (unless there was a new tooltip to display).
Comment 3•17 years ago
|
||
Ok, it's also happens in FoxGame (SA Build) v0.81.44 (http://tesla.rcub.bg.ac.yu/~furry/foxgame/page_index.php) so it's NOT firefox's fault.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
Hi Adrien,
I must say its unfortunetly FF3 bug.
discovered location where this bug occurs and why (not that is any logical reason for that but ...)
Code in my addon:
--------------------------
Array.prototype.RemoveItem = function(index)
{
if (index<0 || index>=this.length) return null;
var tmp = this[index];
for (var i=index; i<this.length-1; i++) this[i] = this[i+1];
this.pop();
return tmp;
}
--------------------------
I would say this is preaty much legal code, even tried change the name of function it's always same, tooltips are always visible (bugging).
Code responsible for bug is in file:
browser.jar\chrome\browser\content\browser\browser.js @ line 2247
------------------------
t = t.replace(/[\r\t]/g, ' ');
------------------------
Where exception is raised telling me object doesn't have replace function.
I ignored so many times this error, and today wanted to see what is this error in FF3 browser.js file so I've edited that file, and discovered which part of my code makes error in FF3 and shows always tooltips.
Now this leads to question why code responsible for showing tooltips is parsing function on Array object ? Think that real bug is somewhere in caller of FillInHTMLTooltip function.
At least I managed to discover that adding functions to prototype is bad idea, this is second time in FF3 that doing so makes some sort of bug in FF3.
Hope this helps to solve many problems with other addons and similar problems, I only wonder how prototype.js doesn't produce similar bug on pages, or maybe it does ?
You need to log in
before you can comment on or make changes to this bug.
Description
•