JDK-6662588 : Can not edit the "Employee" text field for first time when sun tea is lauched with OOP in IE
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 6u10
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: windows_2000
  • CPU: x86
  • Submitted: 2008-02-13
  • Updated: 2010-09-08
  • Resolved: 2008-06-17
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.
JDK 6
6u10 b26Fixed
Related Reports
Relates :  
Description
I am not able to edit the or write anything when sun tea is laucnched with OOP in IE for first time. I am using WIN 2k with SP4 and IE 6

How to reproduce

1.) Install 6u10 b12 (Make sure new plugin is selected)

2.) Make the changes for proxy server in the IE 
 Open IE -> tool -> Internet option -> Connections -> LAN setting -> click adavnce button setting in proxy server tab
And copy this "india.sun.com;india;suntea.holland.sun.com;suntea.central.sun.com;suntea.europe.sun.com;suntea.singapore.sun.com;suntea.japan.sun.com"

3.) launch the suntea from IE

4.) After SUN tea is launched, don't minimize it. 

5.) As initial focus is set to "Employee" text field. Try to edit the "Employee" text field. Nothing happens.

6.) And now click the "Employee" text field using mouse and do the step 5. Result is same, nothing happens.

Workaround: 
1.) click the password text field and then again "Employee" text field

2.) Minimize the sun tea application and maximize it again. 

It will work fine.

Now change the OOP to old plugin
1.) Launch the SUN tea from IE
2.) Initial focus is not set in the "Employee" text field.
3.) Click the mouse indide "Employee" text field. It will work fine

Comments
SUGGESTED FIX webrev: http://sa.sfbay.sun.com/projects/deployment_data/6u10/6662588.0 testcase: http://j2se.east.sun.com/deployment/www/tests/1.6.0_10/6662588/
18-05-2008

EVALUATION Stopped sending the synthesizeWindowActivation(false) message to the applet upon receiving OnFrameWindowActivate(false) as it appears to be the wrong thing to do.
18-05-2008

EVALUATION This can be reproduced on IE only. After launching the SunTea applet, the first login frame gets the focus correctly in the text field. The bug happens after you close the login frame, and click the "Restart SunTEA" button in the applet. Though the cursor is in the "Employee" text field, the field does not get keyboard input. Debugging trace shows that after click the "Restart" button, the control is activated and OnSetFocus() is called. The IE browser calls control's OnFrameWindowActivate(false) to deactive the top level frame. This causes plug-in to call embeddedframe's synthesizeWindowActivation(false) to deactive the frame. This is possible reason why the applet does not get keyboard focus.
19-02-2008

WORK AROUND Workaround: 1.) click the password text field and then again "Employee" text field 2.) Minimize the sun tea application and maximize it again. It will work fine.
13-02-2008