Java Applet: Jframe / JTextfield don't get focus

RESOLVED INVALID

Status

()

Core
Widget
RESOLVED INVALID
12 years ago
4 months ago

People

(Reporter: Thomas Viessmann, Unassigned)

Tracking

Trunk
x86
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(10 attachments)

(Reporter)

Description

12 years ago
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20060131 Firefox/1.6a1
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20060131 Firefox/1.6a1

This issue has been reproducible with a small Java Applet with all Firefox
versions. It is NOT reproducible with Mozilla 1.6. It was introduced in Mozilla 1.7 and was later on fixed in Mozilla 1.7.12. I was not able to identify
the mozilla bug although there are some issues that look simmilar such as
233210, 318675.



Reproducible: Always

Steps to Reproduce:
Install the Java plugin 1.4.2 and activate the Java Console.
Attached is a Java Applet. This needs to be installed on a web server.
Once installed it can be loaded by http://webserver/..../demo.htm

The Applet will be loaded and the Java console will be opened.
Ignore the exceptions in the console if any. Position the browser
and the Java console as shown in FocusScreenshot1.png

Now hit the "OpenWindow" Button in the Applet. The result should be
like in FocusScreenshot2.png. The popup JFrame should be on top and 
the JTextfiled should have the focus. The "OpenWindow" button should
be partly visible.

Click again on the partly visible "OpenWindows" button. After two or
three clicks you should get the bug shown in FocusScreenshot3.png.
The JFrame Popup is NOT on top and the JTextFiled does not have the
focus.


Actual Results:  
The JFrame Window is not on Top and the JTextField does not have the focus.

Expected Results:  
The JFrame Window should bet on Top and the JTextField should have the focus.

Again, I think this is a regression that was introduced in Mozilla 1.7
which was fixed in Mozilla 1.7.12. Iwas inherited by Firefox and needs
to be fixed for Firefox. Thanks.

Thomas Viessmann
(Reporter)

Comment 1

12 years ago
Created attachment 210584 [details]
Screenshot showing the initial layout
(Reporter)

Comment 2

12 years ago
Created attachment 210586 [details]
Screenshot showing the situation after the first click on the button
(Reporter)

Comment 3

12 years ago
Created attachment 210587 [details]
Screenshot showing the bug.
(Reporter)

Comment 4

12 years ago
Created attachment 210588 [details]
The html file for the Java test applet
(Reporter)

Comment 5

12 years ago
Created attachment 210589 [details]
The source file for the Java test applet
(Reporter)

Comment 6

12 years ago
Created attachment 210590 [details]
Java class file for the test applet
(Reporter)

Comment 7

12 years ago
Created attachment 210591 [details]
Java class file for the test applet
(Reporter)

Comment 8

12 years ago
Created attachment 210592 [details]
Java class file for the test applet
(Reporter)

Comment 9

12 years ago
Created attachment 210593 [details]
Java class file for the test applet
(Reporter)

Comment 10

12 years ago
Created attachment 210594 [details]
Java class file for the test applet
Can you reproduce this in safe mode? (http://kb.mozillazine.org/Safe_Mode)
(Reporter)

Comment 12

12 years ago
Yes, the bug can also be reproduced in safe mode
Confirming.
Status: UNCONFIRMED → NEW
Component: General → Widget
Ever confirmed: true
Product: Firefox → Core
Version: unspecified → Trunk
Assignee: nobody → general
QA Contact: general
QA Contact: general
The HTML <applet> element and related java functionality was removed from Gecko in Bug 1279218. Marking related bugs as invalid.
Status: NEW → RESOLVED
Last Resolved: 4 months ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.