Open Bug 595161 Opened 15 years ago Updated 3 years ago

Disabled XUL textbox doesn't display tooltiptext.

Categories

(Core :: XUL, defect)

1.9.2 Branch
x86
Windows 7
defect

Tracking

()

People

(Reporter: CodeMachine, Unassigned)

Details

Attachments

(1 file)

252 bytes, application/vnd.mozilla.xul+xml
Details
When you have a XUL textbox that is disabled="true" and tooltiptext="blah", the tooltip does not show. It is important that tooltips show for disabled widgets so a reason for being disabled can be displayed. I have confirmed this on a dialog in my extension. I also played with DOM Inspector to change Firefox's location bar, which is a quick way to reproduce this. This is in contrast to checkboxes (for example) when the tooltip displays. There may be other XUL widgets that have this bug - I haven't checked. Win7 FF 3.6.9 and 4.0beta5
Attached file sample xul
I can see tooltip when mouse over border of disabled textbox. But it is difficult than normal textbox.
Assignee: nobody → netzen
A patch for this was provided in Bug 559176
A patch for this was provided in full in Bug 274626 because the XUL textbox is based on the html:input. Do I need to make an XUL specific test case though?
Probably isn't too important. If you do, just add an extra bit to test_tooltip.xul (Note that bug 508710 moves the location of this test).
Assignee: netzen → nobody
Severity: minor → S4
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: