JDK-5018119 : applet not working with Mozilla 1.4 Beta
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 1.4_12b
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: solaris_8
  • CPU: sparc
  • Submitted: 2004-03-22
  • Updated: 2004-06-09
  • Resolved: 2004-05-10
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
1.4.2_05 05Fixed
Description
My application uses an applet to login, the applet works fine with Mozilla 1.2,
Mozilla 1.4 I downloaded from iWork web site, but it doesn't work with 
Mozilla 1.4 Beta.

I checked those three versions of Mozilla, Mozilla 1.2 is using Java plugin
1.4.2, Mozilla 1.4 from iWork web site is using 1.4.2_03 while Mozilla 1.4 Beta
is using Java Plugin 1.4.2_02.

It looks like that Java Plugin 1.4.2_02 is a problem.

Someone else has a similar problem in Bug 5005607.

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: 1.4.2_05 generic FIXED IN: 1.4.2_05 INTEGRATED IN: 1.4.2_05 VERIFIED IN: 1.4.2_05
2004-06-18

EVALUATION this bug only occurs on jre 1.4.2_02, no matter what version of mozilla is used. ###@###.### 2004-03-30 The root cause of this bug is we reject the width=0 and height=0 applet. The fix is to set width=1 and height=1 if width=0 or height=0. Refer to the suggested fix for the fix. ###@###.### 2004-03-30 ------------------------------ Since similar fix is already in Tiger, this bug is not applicable to Tiger ###@###.### 2004-05-06
2004-03-30

SUGGESTED FIX In share/classes/sun/plugin/viewer/MNetscapePluginObject.java, setWindow function. change if (width == 0 || height == 0) return; to if (width == 0) width = 1; if (height == 0) height = 1; if (winID == newID) { if (width != this.width || height != this.height) setFrameSize(width, height); return; } With this change, test relative width and height applet to make sure it works fine. The URL of the testcases is in:http://www.mozilla.org/quality/browser/front-end/testcases/oji/test7.html ###@###.### 2004-03-30
2004-03-30