noodlylight / fusilli

X Window Manager (Compiz fork)
Other
25 stars 5 forks source link

Windows opend by java(SWING?) applications are blank(white-out) #14

Open i12o opened 9 years ago

i12o commented 9 years ago

I don't know much about java, but windows of some java applications mapped as blank, white window.

Same kind of problem reported too, for compiz.

https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/1138517

Application I tested is jxplorer. After startup window dispayed, main window mapped blank. Once I replace fusilli with mutter --replace, and back fusilli --replace, main window become okay. But when I open new dialog windows, these new windows are blank.

By above bug report, it seems this problem fixed at this revision:

http://bazaar.launchpad.net/~compiz-team/compiz/0.9.12/revision/3633

but that tree is compiz 0.9.

noodlylight commented 9 years ago

Confirmed.

I couldn't get jxplorer to work on my distro, but I compiled a simple Java Swing example and it's blank.

The compiz 0.9 bug looks different.

cvetan commented 9 years ago

I also have this problem. Everything works great except this. And i just managed to make it work under Ubuntu MATE. :( I do programming in Java, so this is a big problem for me.

i12o commented 9 years ago

Hi. I found this page, describing swing + compiz problem.

http://bugs.java.com/view_bug.do?bug_id=6429775

In SWING, there's special treatment for some window managers. By looking up _NET_WM_NAME, SWING changes its working.

So, not knowing any other problems this may cause, just changed PACKAGE macro definition from 'fusilli' to 'compiz' in config.h, re-compiled fusilli. And this 'fake compiz' fuzilli is working fine with SWING apps.

I don't know which side should be fixed, whether swing library or window manager.