Red Hat Bugzilla – Bug 577953
Full-screen java applet behavior changed
Last modified: 2010-12-02 15:51:44 EST
Description of problem:
After upgrading to java-1.6.0-openjdk-22.214.171.124-34.b17.fc12, Java applets that support full-screen mode no longer take up the full screen. Instead, the Gnome application bar and process bar remain visible.
I observed this trying to use the full-screen mode of HOBsoft's HOBlink JWT, a Java applet-based RDP client. I have confirmed that this also occurs with other different full-screen Java applets.
Version-Release number of selected component (if applicable):
worked correctly with java-1.6.0-openjdk-126.96.36.199-33.b16.fc12
problem observed with java-1.6.0-openjdk-188.8.131.52-34.b17.fc12 (or later)
Observe changed full-screen behavior of a Java applet.
Steps to Reproduce:
1. Start with java-1.6.0-openjdk-184.108.40.206-33.b16.fc12 or earlier installed
2. Run Firefox and navigate to http://evil.hackademix.net/fullscreen/applet.html
3. After the java applet launches, amusing messages are displayed in full-screen mode (see additional info below)
3. Observe the full-screen applet is taking the whole screen
4. Upgrade to java-1.6.0-openjdk-220.127.116.11-34.b17.fc12 (or later)
5. Restart Firefox and repeat steps 2-3
6. Observe Gnome GUI elements still visible.
Gnome GUI elements still visible when running full-screen applet
Full-screen applet should take over the whole screen
The Java applet example displays the message PWND. Don't panic, just click a few times and it will exit. Details and source code can be found at http://hackademix.net/2007/08/07/java-evil-popups/.
HOBlink JWT is an commercial Java applet-based RDP client used in a number of remote access products. Details at http://www.hobsoft.com/products/connect/jwt.jsp. It is very desirable to be able to achieve true full-screen mode when working with a remote desktop.
This appears to be an issue in OpenJDK itself (rather than it being plugin specific). Re-assigning.
It's a bug in Metacity rather than OpenJDK; see https://bugzilla.gnome.org/show_bug.cgi?id=405269 and Sun's bug http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6514512
Problem also observed in Fedora 13 with:
This has been fixed upstream. It is a metacity issue, but they've indicated for a long time that because it is not broken spec they are not likely to change it. IcedTea did patch it in the past, but removed it in part because their upstream (OpenJDK) did not agree with it. But, it is not acceptable for full screen java windows to be obstructed by panel elements. So, being between a rock and a hard place, the patch has been added back to IcedTea: http://icedtea.classpath.org/hg/icedtea6/rev/5719610f7230
Coming soon (hopefully) to a fedora package near you!
The patch has been backported to the stable 1.7 and 1.8 branches of IcedTea6 too, so it should ripple through to a package sooner or later, as Jon says.
I just tested with Fedora 14 and the issue appears to be fixed. Thanks all for pushing this through!
Confirmed that this is fixed on Fedora 13 as well with java-1.6.0-openjdk-18.104.22.168-22.214.171.124.fc13.x86_64.
Closing as fixed.