[Bug 118983] Re: compiz & java windows always grey

2017-10-27 Thread Bug Watch Updater
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


[Bug 118983] Re: compiz java windows always grey

2008-10-22 Thread davie
Looks like sun has finally released JDK6 release 10 
(http://java.sun.com/javase/downloads/index.jsp).
Once this is packaged then this bug should finally go away.  
In the meantime it's easy enough to download/install it manually.

-- 
compiz  java windows always grey
https://bugs.launchpad.net/bugs/118983
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 118983] Re: compiz java windows always grey

2008-10-22 Thread James Stansell
The packages are in the intrepid repository.

-- 
compiz  java windows always grey
https://bugs.launchpad.net/bugs/118983
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 118983] Re: compiz java windows always grey

2008-10-22 Thread Matthias Klose
** Changed in: sun-java6 (Ubuntu)
   Status: Confirmed = Fix Released

-- 
compiz  java windows always grey
https://bugs.launchpad.net/bugs/118983
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 118983] Re: compiz java windows always grey

2008-09-13 Thread frado
Hi, I've installed java version 1.6.0_10-rc and the problems seams to
be solved.

-- 
compiz  java windows always grey
https://bugs.launchpad.net/bugs/118983
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 118983] Re: compiz java windows always grey

2008-09-12 Thread tuharsky
I'm using Ldap Browser Editor (LBE), a .jar application. Since I
couldn't run it using Ubuntu's JRE, I must use binary Java installation
from Sun, in which the LBE runs.

I see this problem using the recent jre1.6.0_07 from Sun. Using
AWT_TOOLKIT workaround helps.

Ubuntu 8.04 Hardy, AMD64 (ordinary i386 installation).

-- 
compiz  java windows always grey
https://bugs.launchpad.net/bugs/118983
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 118983] Re: compiz java windows always grey

2008-08-30 Thread davie
Aris - what jre/jdk are you using, and have you used the workaround 
AWT_TOOLKIT=MToolkit?
Without doing either of these 2 it is still not fixed for me (although it does 
happen less frequently than it used to).
It's a known jdk bug, so I don't really understand  what would fix it other 
than the fix in the jdk actually being released, which seems to be taking a 
long time to happen.

-- 
compiz  java windows always grey
https://bugs.launchpad.net/bugs/118983
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 118983] Re: compiz java windows always grey

2008-08-29 Thread Aris Karagiannidis
this bug is resolved on ubuntu 8.04
it plays nicely to me

-- 
compiz  java windows always grey
https://bugs.launchpad.net/bugs/118983
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 118983] Re: compiz java windows always grey

2008-08-22 Thread bertvv
Until 6u10 becomes available, a temporary workaround may be openjdk:

sudo aptitude install openjdk-6-jre
sudo update-alternatives --config java

and select openjdk.

For me, this appears to fix the grey dialog box problem, but fonts are
rendered differently, which looks weird.

To have Netbeans use the openjdk instead of Sun's Java, I had to edit
/etc/netbeans.conf and modify the line

netbeans_jdkhome=/usr/lib/jvm/java-6-sun

into

netbeans_jdkhome=/usr/lib/jvm/java-6-openjdk

-- 
compiz  java windows always grey
https://bugs.launchpad.net/bugs/118983
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 118983] Re: compiz java windows always grey

2008-08-18 Thread PJSingh5000
This bug is still present in Java SE 6 Update 10 RC on x64.  (I tested
with jdk-6u10-rc-bin-b28-linux-amd64-21_jul_2008.bin).

-- 
compiz  java windows always grey
https://bugs.launchpad.net/bugs/118983
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 118983] Re: compiz java windows always grey

2008-08-18 Thread PJSingh5000
I was mistaken... like the app. I tested with has an internal jvm so it
ignored my environment settings.  I did test Java SE 6 Update 10 RC on
x64 with NetBeans 6.5M1, and the issue seems to have been resolved.  I
will post back if I find otherwise.

-- 
compiz  java windows always grey
https://bugs.launchpad.net/bugs/118983
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 118983] Re: compiz java windows always grey

2008-08-18 Thread davie
I'm also running amd64 and can't reproduce on either b24 or 
jdk-6u10-rc-bin-b28-linux-amd64-21_jul_2008.bin
Please can you post details of the application you're using and what you're 
doing if you can still reproduce it (also make sure you have set JAVA_HOME, and 
that the application uses it - intellij uses JDK_HOME).

-- 
compiz  java windows always grey
https://bugs.launchpad.net/bugs/118983
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 118983] Re: compiz java windows always grey

2008-06-29 Thread Michael Nagel
(I think) I am experiencing this bug, too. I am using NetBeans (from the
Ubuntu repos) and sometimes a Windows just keeps blank. How could I
check if it's actually a duplicate?

-- 
compiz  java windows always grey
https://bugs.launchpad.net/bugs/118983
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 118983] Re: compiz java windows always grey

2008-05-20 Thread davie
A preview release of jdk6 release 10 build 24 is now available at 
http://download.java.net/jdk6/
I can't reproduce the problem when using the package from there, so it looks 
like it will finally be fixed in 1.6.0_10.

If anyone tries this preview build and can reproduce the problem then
please add a comment to the sun bug at
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6632124

-- 
compiz  java windows always grey
https://bugs.launchpad.net/bugs/118983
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 118983] Re: compiz java windows always grey

2008-05-03 Thread Michael Vondung
The thread at http://ubuntuforums.org/showthread.php?t=362821 proposes a
workaround that, so far, seems to be working for me:

Add:

export AWT_TOOLKIT=MToolkit

... to the end of the .profile file in the /home directory (create it if
it doesn't exist).

-- 
compiz  java windows always grey
https://bugs.launchpad.net/bugs/118983
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 118983] Re: compiz java windows always grey

2008-05-01 Thread davie
another update on the sun bug confirms that it's not released yet.

---
Submitted On 30-APR-2008
roger_lewis

This will be fixed in 6u10 build 24; not yet available,
you can find it at:

https://jdk6.dev.java.net/6u10ea.html

-Roger
---

-- 
compiz  java windows always grey
https://bugs.launchpad.net/bugs/118983
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 118983] Re: compiz java windows always grey

2008-04-29 Thread davie
There's an interesting update to the sun bug which suggests that they may have 
made some progress on a fix, but doesn't give details about what version it 
will be available in:
State 8-Fix Available,   bug 
it looks like the property is missing because of sime thread race between WM, 
us and
X-server.  It looks like the best way to fix this is do not read the property 
at random time, but listen for property change events fot it.
Posted Date : 2008-04-14 14:00:27.0
(from http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6632124)

-- 
compiz  java windows always grey
https://bugs.launchpad.net/bugs/118983
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 118983] Re: compiz java windows always grey

2008-04-09 Thread MountainX
I voted under bug 6632124. Here is my info:

The windows are drawn without content about 30% of the time. Repeatedly
closing and re-opening an affected window or dialog box will eventually
bring up one that has content.

This bug happens only when extra visual effects (compiz) are enabled.
When no visual effects are enabled, the bug does not happen.
Additionally, it appears not to happen when Metacity WM is enabled (and
compiz is disabled).

additional info:

$ java -version
java version 1.6.0_05
Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
Java HotSpot(TM) Server VM (build 10.0-b19, mixed mode)

$ uname -r
2.6.24-15-generic
Ubuntu Hardy beta

$ compiz --version
Checking for Xgl: not present.
Detected PCI ID for VGA: 01:00.0 0300: 10de:0402 (rev a1) (prog-if 00 [VGA 
controller])
Checking for texture_from_pixmap: present.
Checking for non power of two support: present.
Checking for Composite extension: present.
Comparing resolution (3840x1200) to maximum 3D texture size (8192): Passed.
Checking for nVidia: present.
Checking for FBConfig: present.
Checking for Xgl: not present.
compiz 0.7.2


additional info:
I can confirm that making the apparently empty window (or dialog) extremely 
large will show some of its content. (If I could make it large enough, I would 
assume it would show all content.)

-- 
compiz  java windows always grey
https://bugs.launchpad.net/bugs/118983
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 118983] Re: compiz java windows always grey

2008-03-31 Thread Sergio Zanchetta
** Summary changed:

- beryl  java windows always grey
+ compiz  java windows always grey

-- 
compiz  java windows always grey
https://bugs.launchpad.net/bugs/118983
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 118983] Re: compiz java windows always grey

2008-03-31 Thread Sergio Zanchetta
Using build 1.6.0_03-b05 Limewire is ok!

-- 
compiz  java windows always grey
https://bugs.launchpad.net/bugs/118983
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 118983] Re: compiz java windows always grey

2008-03-31 Thread davie
intellij idea still shows the same problem on 1.6.0_03-b05, and the sun
bug report is still open
(http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6632124), and
rapidly gaining votes.

-- 
compiz  java windows always grey
https://bugs.launchpad.net/bugs/118983
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs