User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.2) Gecko/20021126 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.2) Gecko/20021126 Upon loading http://news.bbc.co.uk, page up/down and cursor movements do not work until somewhere on the page has been clicked. It appears that initially the page is in focus, but as soon as the java news ticker (at the top) initialises, the page loses focus. This is very annoying :( I'm using Java Plug-in 1.4.1. Reproducible: Always Steps to Reproduce: 1.Go to http://news.bbc.co.uk 2.Wait for page to load 3. Actual Results: Page up/down etc do not function; the page is unfocused Expected Results: Page up/down etc should function; the page should be in focus http://news.bbc.co.uk is the only site that I have found so far that does this... hence I'm assuming the problem is linked with the java news ticker
I also noticed this at http://news.bbc.co.uk/. Initially, I can't scroll the page or use shortcuts like Ctrl+U, but I can tab out in order to use other keyboard commands.
*** Bug 186499 has been marked as a duplicate of this bug. ***
See also bug 160192, loading a Java applet steals focus from other Mozilla windows.
It should be noticed, that this bug does not only affect the applet tag. There the tabindex parameter and the focusing behavior is not defined. So this could be considered "by design". The bug affects also the object tag (see Bug 186499), where tabindex IS defined and this behavior is clearly a bug.
*** Bug 126512 has been marked as a duplicate of this bug. ***
*** Bug 181203 has been marked as a duplicate of this bug. ***
Can the Sun team look into this?
We need a new test case.
sun bug it cited in Bug 160192 (which I just closed) is duped to bug that sun has closed http://bugs.sun.com/bugdatabase/view_bug.do;jsessionid=fac0e38114d6683fd66ba3735c8e4?bug_id=4984794 close incomplete?
I'ld tend so, yes. What do others think?
Testcases are included in the Java JDK. No need to write anything. Any applet, havubg GUI controls or not, even a simple clock will do it, with the latest JDK will do it: java version "1.6.0_21" Java(TM) SE Runtime Environment (build 1.6.0_21-b07) Java HotSpot(TM) Client VM (build 17.0-b17, mixed mode, sharing) Sun/Oracle have an open bug for this: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6921946 With this kind of problem, any web master should remove all applets from the site, because any keyboard commands like bookmark page or even cut and paste will not work. So Oracle is wasting all their money pushing JavaFX because it does not work when deployed on web pages.
The HTML <applet> element and related java functionality was removed from Gecko in Bug 1279218. Marking related bugs as invalid.