Launchpad has imported 8 comments from the remote bug at https://bugzilla.redhat.com/show_bug.cgi?id=213908.
If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. ------------------------------------------------------------------------ On 2006-11-03T18:31:57+00:00 Mario wrote: Description of problem: This is a known bug in Sun Java, I think we can do very little, I'm just posting it here with a small workaround so that other people can find it easily and run java programs until a fix is released from Sun. The problem is that Swing applications with Sun Java do not work with Compiz and Desktop effects enabled. On the net there are a couple of workaround available, but I have found only one works with fedora core 6. One suggest to use MToolkit instead of the XToolKit: export AWT_TOOLKIT=MToolkit But this requires a library I was not able to find in fedora core 6 (it was in the x11-deprecated-libs, but now this package seems to be removed). The one that works with fedora is to install Xephyr and run java programs inside Xephir, with metacity or another window manager that is not compiz, like the following snippet shows: --- cut --- #! /bin/bash # run_java.sh Xephyr :2 -ac -screen 1430x850 & metacity --display :2 & export DISPLAY=:2 $1 & --- cut --- Just Create a file named run_java.sh with this content, Then just run ./run_java.sh netbeans or ./run_java.sh limewire and you will get a java program into a Xephyr session, just change -screen values to suite your needs. While this is a less than optimal solution, it works. The last workaround is to disable compiz and desktop effects and use metacity but it is really difficult to come back to the old desktop after you have tried compiz :) Version-Release number of selected component (if applicable): Sun Java, at least from version 1.5.0_05 to 1.5.0_09 and 1.6.0 beta 2; IBM Java 1.5.0 update 3. Other JDK may have the same issues. How reproducible: Always, with compiz, some Swing based applications seem to work, but they froze as soon as the user tries to resize the window. Steps to Reproduce: 1. enable compiz 2. run a swing application Actual results: The application shows a grey windows, froze or does not resize (eventually stopping to work) Expected results: Applications should start and work normally Additional info: GCJ seems to work, GNU classpath with Cacao also works. This is a bug in Sun Java. SWT application are not affected. I have not tested AWT but it seems to work, too (this is what I've read on the net, at least). This is a bug enty in Sun Bugzilla that can be tracked: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6429775 Reply at: https://bugs.launchpad.net/ubuntu/+source/beryl- core/+bug/118983/comments/0 ------------------------------------------------------------------------ On 2006-11-10T21:09:27+00:00 Mario wrote: I wanted to add that first workaround proposed (the MToolkit fix), can be enabled for fedora by installing the package libXp. I have tested netbeans with this fix and seem to run fine on jdk 1.6 rc and jdk 1.5.0_09, but limewire does not run, maybe other application have issues... Reply at: https://bugs.launchpad.net/ubuntu/+source/beryl- core/+bug/118983/comments/1 ------------------------------------------------------------------------ On 2007-04-10T11:24:56+00:00 Mario wrote: The jdk 1.6.0-u1 (officially released) works with compiz, I've not tested it with beryl (I know there is a workaround for 1.6, but I don't know if it is still valid/needed). Reply at: https://bugs.launchpad.net/ubuntu/+source/beryl- core/+bug/118983/comments/2 ------------------------------------------------------------------------ On 2007-10-22T22:06:51+00:00 Matěj wrote: Reporter, I am not sure what version of compiz you used in April 2007 (sorry, we missed this bug's activity), but could you check with the latest updates for FC6 (while it is still supported) whether this bug hasn't gone away in meantime, please? Reply at: https://bugs.launchpad.net/ubuntu/+source/beryl- core/+bug/118983/comments/13 ------------------------------------------------------------------------ On 2007-10-23T11:22:08+00:00 Mario wrote: I'm sorry, I'm not in fedora 7. The bug is somewhat fixed as of release 1.6.0. You don't need anymore the workaround proposed, but still you get gray windows when opening dialog boxes. It seems to be quite random, and I'm not sure how to fix this (I'm still getting this with an updated compiz-4.0 and jdk 1.6.0.3). I can check with the latest packages in fedora 8 as soon as it gets out, in the meantime, I'm trying to install compiz-0.6 and compiz-fusion for fedora 7. I will also test with IcedTea and let you know. Mario Reply at: https://bugs.launchpad.net/ubuntu/+source/beryl- core/+bug/118983/comments/14 ------------------------------------------------------------------------ On 2007-10-23T11:35:35+00:00 Mario wrote: Of course, I mean, "I'm not in Fedora Core 6 anymore"... Thanks, Mario Reply at: https://bugs.launchpad.net/ubuntu/+source/beryl- core/+bug/118983/comments/15 ------------------------------------------------------------------------ On 2008-01-12T04:22:28+00:00 Jon wrote: As indicated previously there has been no update on the progress of this bug therefore I am closing it as INSUFFICIENT_DATA. Please re-open if the issue still occurs for you and I will try to assist in its resolution. Thank you for taking the time to report the initial bug. Reply at: https://bugs.launchpad.net/ubuntu/+source/beryl- core/+bug/118983/comments/18 ------------------------------------------------------------------------ On 2008-01-12T09:20:19+00:00 Mario wrote: Hi, Sorry for the long delay in replying. This bug seems to be fixed for IcedTea on fedora 8, I'm currently using the rawhide version of IcedTea (based on b24: java-1.7.0-icedtea-1.7.0.0-0.23.b24.snapshot.fc9). I don't know if Sun will ever backport this fix to jdk 1.6, I was also told that it maybe a mixed compiz and java issue. This bug was really about jdk and was a reference to the sun bug 6429775, and not openjdk, so I don't know if you can simply mark this as fixed in rawhide or just leave as closed/insufficient_data. Please, note also that NetBeans 6.0 currently does not work well with IcedTea. Thanks, Mario Reply at: https://bugs.launchpad.net/ubuntu/+source/beryl- core/+bug/118983/comments/19 ** Changed in: fedora Importance: Unknown => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/118983 Title: compiz & java windows always grey To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/beryl-core/+bug/118983/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs