Closed Bug 96376 Opened 24 years ago Closed 23 years ago

Support tooltips in outliner

Categories

(Core :: XUL, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla0.9.7

People

(Reporter: skasinathan, Assigned: hewitt)

References

Details

It would be good if we support tooltips in outliner. I'm pretty sure lots of components can take advantage of this one.
Somehow, we should be able to have outliner detect that the mouse is hovering over a cell, and call back into the application via some interface, passing it some data that identifies the cell and asks for tooltip text to be displayed.
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.6
Either Ben has a bug like this already or he wontfixed it. I can't remember. However this has been reported before.
varga@utcru.sk may own a dup bug on this. jan had an approach, but hyatt wasn't keen on it.
yes, it was bug 82597
Target Milestone: mozilla0.9.6 → mozilla0.9.7
taking this one, as it will work as part of my titletips patch
Assignee: hyatt → hewitt
Status: ASSIGNED → NEW
Status: NEW → ASSIGNED
fixed To use tooltips in outliner, do something like this: function showTooltip(aEvent, aTooltipNode) { var outliner = document.getElementById("outliner"); var bx = outliner.outlinerBoxObject; var row = {}; var col = {}; var obj = {}; bx.getCellAt(aEvent.clientX, aEvent.clientY, row, col, obj); aTooltipNode.label = "cell " + row.value + ", " + col.value; } ... <tooltip id="aTooltip" onpopupshowing="showTooltip(event, event.target);"/> <outliner> <outlinerbody tooltip="aTooltip"/> </outliner>
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Blocks: 114148
Component: XP Toolkit/Widgets: Trees → XUL
QA Contact: jrgmorrison → xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.