Closed Bug 545977 Opened 16 years ago Closed 15 years ago

Java Applet can't regain Keyboard Focus.

Categories

(Firefox :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: ivo.wetzel, Unassigned)

References

()

Details

(Whiteboard: [CLOSEME 2011-1-30])

User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.1.7) Gecko/20100106 Ubuntu/9.10 (karmic) Firefox/3.5.7 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.1.7) Gecko/20100106 Ubuntu/9.10 (karmic) Firefox/3.5.7 When the Applet losses focus(by clicking somewhere in the page or changing the tab) it's unable to regain keyboard focus when you click on it, it regains mouse focus but whatever you try on the Java side of things, there's no way to get the keyboard focus back. Calling requestFocusInWindow() on the Applet just returns false all the time. You can even lose the initial focus of the Applet if you call requestFocusInWindow() in the Applets init() Method. I've switched to Linux a few days ago and this is actually pretty annoying, under Windows everthing worked fine. I've also searched the web for a solution but couldn't find one. Also I tried both the official Java from Sun(6-15-1) and the OpenJDK(6b16.1.6.1-3ubuntu1) both fail to regain the focus. Reproducible: Always Steps to Reproduce: 1. Load the page containing the applet 2. Click somewhere in the page outside of the applet 3. Click on the applet Actual Results: Applet doesn't regain keyboard focus. Expected Results: Applet should regain the keyboard focus.
Reporter, are you still seeing this issue with Firefox 3.6.13 or later in safe mode? If not, please close. These links can help you in your testing. http://support.mozilla.com/kb/Safe+Mode http://support.mozilla.com/kb/Managing+profiles You can also try to reproduce in Firefox 4 Beta 8 or later, there are many improvements in the new version, http://www.mozilla.com/en-US/firefox/all-beta.html
Whiteboard: [CLOSEME 2011-1-30]
No reply, INCOMPLETE. Please retest with Firefox 3.6.13 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: 15 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.