Lacking default tooltip impl for embeddors

RESOLVED WONTFIX

Status

()

Core
Embedding: APIs
RESOLVED WONTFIX
16 years ago
12 years ago

People

(Reporter: Aaron Leventhal, Assigned: Adam Lock)

Tracking

Trunk
x86
Windows 2000
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

16 years ago
Embeddors have to impl nsITooltipListener, we don't provide a default impl.

I think this is unfriendly and creating extra work for most embeddors; we should
let them override the impl, but not force them to do something we should provide.
(Assignee)

Comment 1

16 years ago
The problem with providing a default implementation is that it is impossible to
do in a cross platform manner. It might be possible to work on a Win32 version.
(Reporter)

Comment 2

16 years ago
What makes it impossible to do it XP?
Geecko renders everything else XP, why not tooltips?
(Assignee)

Comment 3

16 years ago
If the embedder wants an XP toolkit they should load some chrome into their
browser object with the appropriate tooltip js event handler. This can be done
right now.

The nsIToolTipListener is for the benefit of embedders who wish to implement a
tooltip behaviour in C++. Perhaps we could provide an XP version of this, but it
might be tricky considering the different paths that a tooltip would be invoked
from via chrome and via our listener class.

Updated

16 years ago
QA Contact: mdunn → ashishbhatt
(Assignee)

Comment 4

16 years ago
Marking WONTFIX.

Embedders now have a sample tooltip implementation in mfcembed to reference. 

http://lxr.mozilla.org/seamonkey/source/embedding/tests/mfcembed/BrowserToolTip.h
http://lxr.mozilla.org/seamonkey/source/embedding/tests/mfcembed/BrowserToolTip.cpp
Status: NEW → RESOLVED
Last Resolved: 16 years ago
Resolution: --- → WONTFIX

Comment 5

12 years ago
> If the embedder wants an XP toolkit they should load some chrome into their
> browser object with the appropriate tooltip js event handler. This can be done
> right now.

Can you give a hint how to load some chrome into a nsIWebBrowser, please?
Sure, I can call nsIWebNavigation.loadURI() with a chrome uri, but I also need to load a webpage.
You need to log in before you can comment on or make changes to this bug.