-
Bug
-
Resolution: Fixed
-
P4
-
5.0
-
b01
-
x86
-
linux
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2144301 | 7 | Oleg Sukhodolsky | P2 | Resolved | Fixed | b07 |
here is a quote from mail from ###@###.###
>We've encountered some difficulties with Xgl/Compiz displaying apps
>using Java 1.5, Swing and the XToolkit running under Xgl/Compiz.
>
>The difficulty seems to be specifically related to the compiz window
>manager rather than Xgl (our testing has shown the window managers
>enlightment and ratpoision also exhibit the behaviour, but not more
>maintstream managers like metacity). We've created a test case of
>about
>20 lines long to demonstrate the behaviour (attached), which is that
>windows draw with no contents, but the widgets behavior are still
>present (ie click where a top level menu item should be and the menu
>will appear in more complex apps). MToolkit does not appear to
>have the
>issue, but of course using it for 1.5 apps is not an ideal
>solution. Do
>you guys have any interest in helping look at this problem or know
>someone who would inside the Java/Swing team? Even 30 minutes on the
>phone might give us a better understanding why compiz has the issue
>but
>metacity does not so we can correct what we need to.
The test to reproduce the problem:
import javax.swing.*;
public class WmTest extends JFrame {
public WmTest () {
JLabel l = new JLabel ("WM Test");
this.getContentPane().add(l);
this.setSize(256, 256);
//this.pack();
this.setVisible (true);
}
public static void
main (String args[]) {
WmTest r = new WmTest ();
}
}
>We've encountered some difficulties with Xgl/Compiz displaying apps
>using Java 1.5, Swing and the XToolkit running under Xgl/Compiz.
>
>The difficulty seems to be specifically related to the compiz window
>manager rather than Xgl (our testing has shown the window managers
>enlightment and ratpoision also exhibit the behaviour, but not more
>maintstream managers like metacity). We've created a test case of
>about
>20 lines long to demonstrate the behaviour (attached), which is that
>windows draw with no contents, but the widgets behavior are still
>present (ie click where a top level menu item should be and the menu
>will appear in more complex apps). MToolkit does not appear to
>have the
>issue, but of course using it for 1.5 apps is not an ideal
>solution. Do
>you guys have any interest in helping look at this problem or know
>someone who would inside the Java/Swing team? Even 30 minutes on the
>phone might give us a better understanding why compiz has the issue
>but
>metacity does not so we can correct what we need to.
The test to reproduce the problem:
import javax.swing.*;
public class WmTest extends JFrame {
public WmTest () {
JLabel l = new JLabel ("WM Test");
this.getContentPane().add(l);
this.setSize(256, 256);
//this.pack();
this.setVisible (true);
}
public static void
main (String args[]) {
WmTest r = new WmTest ();
}
}
- backported by
-
JDK-2144301 Xgl/Compiz/Java 1.5/Swing problem
- Resolved
- relates to
-
JDK-6479959 AWT needs to use the NO_WM case when running inside of Looking Glass
- Resolved
-
JDK-6632124 fix for 6429775 was incomplete
- Resolved
-
JDK-6434227 Popup menus when rendered on X Client can't be selected w/ mouse
- Closed
-
JDK-6574362 Support for Ratpoison window manager in Java
- Open