Closed Bug 105379 Opened 23 years ago Closed 22 years ago

fix up resize behaviour of testevents plugin

Categories

(Core Graveyard :: Plug-ins, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID
mozilla1.2alpha

People

(Reporter: james, Assigned: srgchrpv)

Details

Attachments

(1 file)

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.5) Gecko/20011012
BuildID:    

The testevents plugin had a few build issues under linux, and didn't resize
correctly.  The GtkMozBox for the plugin would only grow larger, so the end of
the entry would go off the end of the window when making the window smaller.

The fix is to call gdk_window_resize() on the MozBox's GdkWindow in response to
the SetWindow() call.  This lets GTK's geometry management handle sizing of the
children.

Also included is an example XUL file embedding the plugin.  Currently, the
plugin is ignoring the flex attribute, so it doesn't resize vertically with the
window.  If the height="100%" attribute is added to the <html:embed> element,
then the plugin gets too much vertical space and the rest of the elements fall
off the bottom of the window.

patch to follow.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: patch, review
--- Mass reassigning Unix bugs to serge ---
Assignee: av → serge
Target Milestone: --- → mozilla1.0
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
xpcom has been deprecated, so this issue is now invalid
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
Can you clarify what you mean by "xpcom has been deprecate"? XPCOM is 
deprecated period (!) or talking to plugins via XPCOM has been deprecated or 
talking to plugins on Linux/GTK via XPCOM has been deprecated.

Thanks.
The "New Plugin API" using XPCOM has been deprecated. Do not use it. Instead,
use the old 4.x NPAPI with upgrades to support XPConnect scripting as described
here:
http://www.mozilla.org/projects/plugins/
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: