Closed
Bug 327013
Opened 20 years ago
Closed 16 years ago
cursor is not moving behind typed characters when using a javascript-java-communication
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: wunderlich, Unassigned)
Details
(Whiteboard: [CLOSEME 5-15-2010])
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1) Gecko/20060124 Firefox/1.5.0.1
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1) Gecko/20060124 Firefox/1.5.0.1
When running a javascript that is calling (periodically) a method of a java applet, the cursor is not moving like it should when typing something in a form or url-bar of another tab.
The cursor is often moving not behind the typed character so that other characters appear before the previous one. It looks like this alway happens as long as the java-method is not returning yet. For example if the called java-method is 'sleeping' for one second, the cursor is not moving anymore for this second.
Reproducible: Always
Steps to Reproduce:
1. Create a HTML page like this:
<html><head> <title>bug</title>
<script type="text/javascript">
loop = function()
{
try
{
var message = document.applets["DEMO_APPLET"].JS2JRequest();
}
catch (exception)
{}
window.setTimeout("loop()", 2000);
};
</script>
</head>
<body>
<input type="button" value="start" onclick="loop();"> <p>
<APPLET CODE="FA.class" NAME="DEMO_APPLET" WIDTH="50" HEIGHT="50"/></APPLET>
</body></html>
2. Create an applet:
import java.applet.Applet;
public class FA extends Applet {
public void init() {
System.out.println("starting demo-applet");
}
public void JS2JRequest() {
try {Thread.sleep(1000);}
catch (Exception e) {;}
return;
}
}
3. Load the page.
4. Hit the button to start the JavaScript-Java-Communication
5. Open another tab
6. Type arbitrary characters in the location bar or in a form field of any other website.
Actual Results:
The cursor is not moving behind the typed characters.
Expected Results:
The cursor should move behind the typed characters.
Related to bug 256763/Core bug 269973?
It sounds similar to bug 269973 because it also uses some kind of java-javascript communication.
But this example shows the meat:
Javascript calls a java method wich blocks the cursor-movemet until the java method returns.
Looks like it´s fixed in: Java Runtime Environment (JRE) 6
Download:
http://java.sun.com/javase/downloads/index.jsp
Comment 4•16 years ago
|
||
This bug was reported on Firefox 2.x or older, which is no longer supported and will not be receiving any more updates. I strongly suggest that you update to Firefox 3.6.3 or later, update your plugins (flash, adobe, etc.), and retest in a new profile. If you still see the issue with the updated Firefox, please post here. Otherwise, please close as RESOLVED > WORKSFORME
http://www.mozilla.com
http://support.mozilla.com/kb/Managing+profiles
http://support.mozilla.com/kb/Safe+mode
Whiteboard: [CLOSEME 5-15-2010]
Version: unspecified → 1.5.0.x Branch
Comment 5•16 years ago
|
||
No reply, INCOMPLETE. Please retest with Firefox 3.6.x or later and a new profile (http://support.mozilla.com/kb/Managing+profiles). If you continue to see this issue with the newest firefox and a new profile, then please comment on this bug.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•