Method getWidth do not works properly

ASSIGNED
Assigned to

Status

Core Graveyard
Java-Implemented Plugins
P3
normal
ASSIGNED
18 years ago
6 years ago

People

(Reporter: Vladimir Strigun, Assigned: Igor Kushnirskiy)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: suntrak-n6)

(Reporter)

Description

18 years ago
Summary:
Method getWidth in PlugletTagInfo2 interface always return 0.

Source: Netscape pkg from 11/07/2000
(Reporter)

Comment 1

18 years ago
May be the reasons for bugs 60315, 60314, 60313, 60312 are the same.

Comment 2

18 years ago
Adding status whiteboard keyword to track all existing Pluglet bugs in Bugzilla

Comment 3

18 years ago
missed typing in the keyword :)
Whiteboard: suntrak-n6

Comment 4

18 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

17 years ago
Status: NEW → ASSIGNED

Comment 5

17 years ago
Changing QA contact
QA Contact: geetha.vaidyanaathan → avm
Component: Java-Implemented Plugins → Java-Implemented Plugins
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.