Community
Participate
Working Groups
which instructs SWT to always use Cairo for all GC calls (advanced graphics). An easy way to set this property is to specify VM argument
<code>-Dorg.eclipse.swt.internal.gtk.useCairo=true</code> when launching Eclipse or your SWT application.
(bugs <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=345650">345650</a> and <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=333965">333965</a>)</p>
<p>There is also a potential clipping problem when using Cairo with GTK versions > 2.18 (see bug <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=349354">349354</a>).
The temporary workaround is to set an environment variable GDK_NATIVE_WINDOWS=1 in a shell and then launch Eclipse or your SWT application from that same shell.</p>
<h4>Menus do not appear in Unity desktop menu bar</h4>
<p>On recent Ubuntu Linux distributions that feature the Unity desktop, the menus from the workbench will not appear in the top desktop menu bar. They will continue to appear in the shell.</p>
<h3>3.2.7 <a name="I-Platform-Team-CVS">Platform - Team - CVS</a></h3>