Closed Bug 156484 Opened 23 years ago Closed 22 years ago

Java Applets don't get mouse clicks routed

Categories

(Core Graveyard :: Java to XPCOM Bridge, defect)

x86
Linux
defect
Not set
major

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: Stephan.Fuhrmann, Assigned: blackconnect)

References

()

Details

A simple Java Applet doesn't receive it's mouse clicks that it listens to with a ActionListener on a button. There's an example applet that demonstrates the behaviour at the given url: http://www.userhp.com/~s_fuhrm/mozilla1/applet.html Pushing the button at the bottom with the mouse should make the applet print the current date/time to the big text area. But nothing happens. But (!) if the button has the keyboard focus, and the user hits space, the button gets pushed. The question is: Where have all the mouse clicks gone!? Mozilla version is 1.0 release. Java version is 1.4. For Netscape 4.x this works fine.
wfm: build 2002070913, win2k sp2, java 1.3.1_03
A friend with Linux reported similar problems. Maybe it's a Linux problem? Can anyone agree with this? Are there Windows people having the problem?
I can't open a connection to www.userhp.com. Stephan, could you provide a working URL for this applet?
The free webspace page provider went down. The new page can be viewed here: http://kruemel.rnbhq.org/mozilla1/applet.html The problem seems to be gone since 1.2b. Can someone still reproduce this problem?
Using buildid 20030109 on solaris 8/sparc, with java 1.4.1. Works for me. The "Go" button works just fine with the mouse.
it doesn't work for me. i have RH 8.0 linux, mozilla 1.0.1 (Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003) output of "java -version" java version "1.3.1_06" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_06-b01) Java HotSpot(TM) Client VM (build 1.3.1_06-b01, mixed mode) i hardly managed to focus my keyboard on Go! button (with TAB key)- it worked then.
Using Linux buildid 20030201, I can reproduce this using Sun's java 1.3.1_07. The applet works correctlly using the plugin from IBM java 1.3.1 or Sun's java 1.4.1. It also works correctly using any version of appletviewer. It's fairly well known that java 1.3.x had a bunch of problems that were fixed in 1.4.x. It seems likely that this is one of them. I'm going to resolve this as invalid.
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.