Closed
Bug 60312
Opened 24 years ago
Closed 6 years ago
Method getWidth do not works properly
Categories
(Core Graveyard :: Java-Implemented Plugins, defect, P3)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: sva, Assigned: blackconnect)
Details
(Whiteboard: suntrak-n6)
Summary:
Method getWidth in PlugletTagInfo2 interface always return 0.
Source: Netscape pkg from 11/07/2000
Reporter | ||
Comment 1•24 years ago
|
||
May be the reasons for bugs 60315, 60314, 60313, 60312 are the same.
Comment 2•24 years ago
|
||
Adding status whiteboard keyword to track all existing Pluglet bugs in Bugzilla
Comment 4•24 years ago
|
||
Looks, that we can't get width only in method initialize, in setWindow and start
getWidth works:
--TestInstance.initialize
PlugletInstance.initialize Width = 0
PlugletInstance.initialize Height = 0
PlugletInstance.initialize BorderHorizSpace = 0
PlugletInstance.initialize BorderVertSpace = 0
--TestInstance.initialize application/x-simple-pluglet--TestInstance.start
PlugletInstance.start Width = 400
PlugletInstance.start Height = 401
PlugletInstance.start BorderHorizSpace = 12
PlugletInstance.start BorderVertSpace = 11
containerWindowID=83886220 WindowID=0
Warning: Cannot convert string "-b&h-lucida
sans-medium-r-normal-sans-*-140-*-*-p-*-iso8859-1" to type FontStruct
--Test...SetWindow
sun.awt.motif.MEmbeddedFrame[frame0,0,0,0x0,invalid,hidden,layout=java.awt.BorderLayout,resizable,title=]
PlugletInstance.setWindow Width = 400
PlugletInstance.setWindow Height = 401
PlugletInstance.setWindow BorderHorizSpace = 12
PlugletInstance.setWindow BorderVertSpace = 11
Also looks that this is pure Pluglet bug,but not Plugin bug
(For Plugins all works well)
Please see output from simple plugin:
####SimplePluginInstance::Initialize
Attribute count = 6
plugin param=type, value=application/x-simple
plugin param=text, value=Hello World
plugin param=width, value=400
plugin param=height, value=401
plugin param=vspace, value=11
plugin param=hspace, value=12
####SimplePluginInstance::Initialize Width = 400
####SimplePluginInstance::Initialize Height = 401
####SimplePluginInstance::Initialize Vert = 11
####SimplePluginInstance::Initialize Horiz = 12
SimplePluginInstance::Start
####SimplePluginInstance::Start Width = 400
####SimplePluginInstance::Start Height = 401
####SimplePluginInstance::Start Vert = 11
####SimplePluginInstance::Start Horiz = 12
###SimplePluginInstance::SetWindow
####SimplePluginInstance::SetWindow Width = 400
####SimplePluginInstance::SetWindow Height = 401
####SimplePluginInstance::SetWindow Vert = 11
####SimplePluginInstance::SetWindow Horiz = 12
###SimplePluginInstance::SetWindow
####SimplePluginInstance::SetWindow Width = 400
####SimplePluginInstance::SetWindow Height = 401
####SimplePluginInstance::SetWindow Vert = 11
####SimplePluginInstance::SetWindow Horiz = 12
Assignee | ||
Updated•24 years ago
|
Status: NEW → ASSIGNED
Updated•13 years ago
|
Product: Core → Core Graveyard
Comment 6•6 years ago
|
||
Dead component, closing all bugs in it.
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•