Closed Bug 151053 Opened 22 years ago Closed 22 years ago

Buttons fail to fire actions in java applet

Categories

(Core Graveyard :: Java: OJI, defect)

x86
Linux
defect
Not set
minor

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: andrew.crawford, Assigned: joshua.xia)

References

()

Details

Build ID

2002052918

Using plugin:

/j2re1.4.0_01/plugin/i386/ns610/libjavaplugin_oji.so

Steps to reproduce:

1) Goto http://webpac.otago.ac.nz
2) After it loads, click on "Library Catalogue"
3) Try and do a new search - some of the buttons fail to work e.g search
4) Move the window a bit and then the buttons work

This behaviour has been seen on other applets with buttons.

Applet works fine with Mozilla 1.0 under Windows 2000
I just filed a comment under bug 136010, which seems to be directly related to
this bug report. Changing the size of the window does get the buttons in a Java
applet to work. Here are the steps that I performed to verify it:

1. Go to this URL: http://community.parachat.com/newbies.html
2. When the chat applet appears, try clicking on the Float button. The button
appears to react to the click, but the floating action never occurs.
3. Resize the browser window. You can't just use the maximize or restore
buttons, you need to grab the edge of a window and change the size.
4. Try a button. Now it will work.

Hope this is a clue as to where the problem might be.
Yes I agree that bug 136010 is a duplicate of this bug.
I can confirm this with 2002090804 using
/j2re1.4.0_01/plugin/i386/ns610/libjavaplugin_oji.so under Linux 2.4.19. Wrote a
simple applet implementing ActionListener with a button. Clicking the button
causes actionPerformed to run in IE (Win), Netscape (Win), appletviewer (Linux).
Mozilla (Linux) does nothing when the button is clicked with the mouse. However,
if I tab over to the button and then use the space bar, the applet works as
expected.
Same problem for me, buttons don't fire any action. Using Mozilla 1.0.0 with
Java(TM) Plug-in (j2sdk1.4.0). Using bundled appletviewer with direct URL works
just fine. (Applet is in french).

http://david.denis.name/pageview.php?page=crypto-rs
Re-assign to Margaret.
Assignee: joe.chou → margaret.chan
Chris Petersen is a new QA contact for oji component. His email is:
petersen@netscape.com
Assignee: margaret.chan → petersen
Status: UNCONFIRMED → NEW
fixing small error for pmac@netscape.com (filter with : SPAMMAILSUCKS)
Assignee: petersen → joe.chou
QA Contact: pmac → petersen
reassign to me
Assignee: joe.chou → joshua.xia
Status: NEW → UNCONFIRMED
I'm using linux nightly 2002120705 with j2sdk 1.4.1_01. Both
<http://webpac.otago.ac.nz> and the url from comment #1 work properly for me.

Andrew, could you see if you can reproduce this with a current version of
mozilla and java? If you find that it's working, please go ahead and set the
resolution on this report.
I see that bug 136010 (which seemed to be directly related to this one) has been
closed.

I tried to reproduce the problem that I was having with buttons on Java using
Mozilla 1.2.1. The bug is gone! Excellent work!
Resolving per comment #10.
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → WORKSFORME
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.