Closed
Bug 105418
Opened 24 years ago
Closed 23 years ago
Sample plugin no longer works
Categories
(Core Graveyard :: Plug-ins, defect)
Tracking
(Not tracked)
RESOLVED
INVALID
mozilla1.2alpha
People
(Reporter: markh, Assigned: srgchrpv)
Details
The simple sample plugin no longer works on Linux. Works correctly on Windows.
Build the sample (modules/plugin/samples/simple), and open SimpleScriptableTest.html
As you click on the "Set" and "Get" buttons, no text is displayed in the plugin
region. The plugin region is allocated correctly - but no text is ever displayed.
I have tracked it down to:
http://lxr.mozilla.org/seamonkey/source/modules/plugin/samples/simple/npsimple.cpp#1021
Function SimplePluginInstance::Repaint(void)
The function gtk_label_set_text() is called with the correct text - but nothing
is displayed. I have no idea why not.
Comment 1•24 years ago
|
||
It looks like the gtk code is trying to emulate what the windows code does
(handle repaints manually). However, the GtkLabel widget handles it's own
repaints, and setting the label text during an expose is almost certainly broken.
Either the gtk code shouldn't be using a GtkLabel, and manually draw in response
to an expose_event, or it should set the GtkLabel's text once in
SimplePluginInstance::SetText, and not handle exposures at all (letting GtkLabel
do its job).
Comment 2•24 years ago
|
||
cc:ing Serge who worked on the sample and Syd the GTK-god.
| Assignee | ||
Updated•23 years ago
|
Target Milestone: --- → mozilla1.0
Comment 4•23 years ago
|
||
Moving Netscape owned 0.9.9 and 1.0 bugs that don't have an nsbeta1, nsbeta1+,
topembed, topembed+, Mozilla0.9.9+ or Mozilla1.0+ keyword. Please send any
questions or feedback about this to adt@netscape.com. You can search for
"Moving bugs not scheduled for a project" to quickly delete this bugmail.
Target Milestone: mozilla1.0 → mozilla1.2
Comment 5•23 years ago
|
||
this is based on xpcom which has since been deprecated, marking invalid
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → INVALID
Updated•3 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•