More odd behaviour: IDEA 6.0.1, FC 6 and Compiz window manager

Hi,

Even more weird behaviour. The Compiz window manager that comes with Fedora Core 6 uses DRI 3D acceleration for rendering the desktop, and this seems to cause problems with IntelliJ. IDEA starts up fine, but the main window is completely blank - no menu items, nothing. Key shortcuts still work though and popups are visible.

I suspect this is something to do with Swing and Compiz rather than IntelliJ and Compiz, since Eclipse (and other SWT based programs such as Azureus) works fine.

See:
http://fedoraproject.org/wiki/compiz
http://fedoraproject.org/wiki/RenderingProject/aiglx

Cheers,
Manik

0
8 comments

Running with -Dawt.nativeDoubleBuffering=true may help, but app will flicker,

This is Compiz (glx/xgl) bug with Swing applications.

0
Avatar
Permanently deleted user

Hmm, even with that, it only partially renders (http://surtani.org/~manik/Screenshot.png)

But it has introduced a nasty flicker on the dialogs that pop up, as you predicted! :)

0

One user suggested adding this to idea.vmoptions:
-Dawt.toolkit=sun.awt.motif.MToolkit

0
Avatar
Permanently deleted user

Manik Surtani schrieb:

Even more weird behaviour. The Compiz window manager that comes with
Fedora Core 6 uses DRI 3D acceleration for rendering the desktop, and
this seems to cause problems with IntelliJ.IDEA starts up fine, but
the main window is completely blank - no menu items, nothing. Key
shortcuts still work though and popups are visible.


This is due to a bug in the Toolkit where AWT expects the window to be
reparented and doesn't listen to any other events before the window
manager does that. However, Compiz/Beryl won't reparent the window.

export AWT_TOOLKIT=MToolkit

=> This will fix the blank window, but repaints are extremly slow.

Additionally setting

Option BackingStore "on"

in xorg.conf fixed that for me (nVidia beta drivers).

However, normally, when I work with IDEA, I have a second Screen where
IDEA runs fullscreen. So I configured Beryl only for the first Screen,
the second screen is running plain X.org with flwm.

HTH,
Raffi

--
Come to think of it, there are already a million monkeys on a million
typewriters, and Usenet is nothing like Shakespeare!

herzog@raffael.ch · PGP Key 5D1FF5F4 · http://www.raffael.ch/

0
Avatar
Permanently deleted user

This worked for me. However, you might need to install libXp from the core repo.

0
Avatar
Permanently deleted user

Does anyone know if this bug has been reported to redhat? Or whoever wrote the Compiz bug?

0
Avatar
Permanently deleted user

that worked for me too

0
Avatar
Permanently deleted user

Yes, I have reported this to the fedora-desktop mail list, and they have in turn raised this bug with Sun as it is a Swing bug.

Doesn't happen, for example, with Eclipse which doesn't use Swing.

0

Please sign in to leave a comment.