Closed Bug 630010 Opened 13 years ago Closed 12 years ago

noautohide on tooltips doesn't work

Categories

(Toolkit :: UI Widgets, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: bugzilla, Unassigned)

Details

Pretty simple, really; noautohide just doesn't work.

Test case at:
http://mxr.mozilla.org/mozilla-central/source/toolkit/content/tests/widgets/test_tooltip_noautohide.xul?raw=1&ctype=application/vnd.mozilla.xul+xml

Hover over the button, the tooltip appears.  Move the mouse away, and the tooltip disappears; it shouldn't, should it?

My test platform is Windows XP, Firefox 4 b11.
https://developer.mozilla.org/en/XUL/Attribute/noautohide

"If this attribute is set to false or omitted, the tooltip will automatically disappear after a few seconds. If this attribute is set to true, this will not happen and the tooltip will only hide when the user moves the mouse to another element."
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → INVALID
Yes, and I'm saying that that behaviour isn't happening.
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
You say "Move the mouse away, and the tooltip disappears," the doc says "the tooltip will only hide when the user moves the mouse to another element." That sounds like exactly what's supposed to happen happening. noautohide is about not hiding after a few seconds when the mouse is still there, so no description of it not working correctly should have any mention at all of moving the mouse.

STR for a noautohide failure would be:

1. move the mouse over the element, and the tooltip appears
2. do not move the mouse, not even one pixel
3. wait a few seconds

Expected results:
The tooltip remains visible.

Actual results:
The tooltip disapppears.

Your STR are

1. move the mouse over the element, and the tooltip appears
2. move the mouse off the element

Expected results:
Unlike what the docs say should happen, I expect the tooltip to remain.

Actual results:
The tooltip does what the docs say should happen, and disappears.
Status: REOPENED → RESOLVED
Closed: 13 years ago13 years ago
Resolution: --- → INVALID
I still say this is a valid bug for 2 reasons:

1. Why should you need not to move the mouse 'even one pixel'?  If you're moving the mouse over the element in question, then you haven't moved the mouse 'to another element', have you?

2. What if you move your mouse out of the browser window without moving your mouse over another element?  You haven't moved your mouse 'to another element', so the tooltip should not disappear.
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
Also the tooltips seem to disappear after 1 second regardless of whether you keep the mouse still.
Tooltips were changed to be more consistent with platform behaviour so that tooltips don't hide after a few seconds any more. This made the the noautohide attribute redundant so support for it was removed.

The original poster isn't correct in describing the noautohide attribute. It only affected the 5-second timeout and had no effect on what happened when the mouse is moved.
Status: REOPENED → RESOLVED
Closed: 13 years ago12 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.