Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6662588
Votes 0
Synopsis Can not edit the "Employee" text field for first time when sun tea is lauched with OOP in IE
Category java_plugin:plugin2
Reported Against
Release Fixed 6u10(b26)
State 11-Closed, Verified, bug
Priority: 3-Medium
Related Bugs
Submit Date 13-FEB-2008
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
Posted Date : 2008-02-13 12:07:26.0
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.
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.
Posted Date : 2008-02-19 23:06:18.0

Stopped sending the synthesizeWindowActivation(false) message to the
applet upon receiving OnFrameWindowActivate(false) as it appears to be
the wrong thing to do.
Posted Date : 2008-05-18 03:21:09.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang