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
Please sign in to leave a comment.
Running with -Dawt.nativeDoubleBuffering=true may help, but app will flicker,
This is Compiz (glx/xgl) bug with Swing applications.
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! :)
One user suggested adding this to idea.vmoptions:
-Dawt.toolkit=sun.awt.motif.MToolkit
Manik Surtani schrieb:
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/
This worked for me. However, you might need to install libXp from the core repo.
Does anyone know if this bug has been reported to redhat? Or whoever wrote the Compiz bug?
that worked for me too
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.