Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 347086

Summary: Add property to turn on Cairo on x86_64
Product: [Eclipse Project] e4 Reporter: Bogdan Gheorghe <gheorghe>
Component: UIAssignee: Andrew Niefer <aniefer>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: kim.moir, pwebster, remy.suen, sang.kieu
Version: unspecified   
Target Milestone: 4.1 RC3   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
patch none

Description Bogdan Gheorghe CLA 2011-05-24 16:37:37 EDT
As explained in Bug 345650 and Bug 333965, there are painting issues on current GTK distros that run on x86_64. By default, SWT uses X painting calls and there seems to be some low-level problem with them on distributions that don't use native windows (which is all current ones).

The long term solution is to make use of Cairo for all GC operations. For time being, we have added a property to SWT (org.eclipse.swt.internal.gtk.useCairo) which, if set, will automatically use Cairo for all GC operations.

We would like to have this property set for the e4 4.1 release in the config.ini file for GTK X86_64 builds only. Thanks!
Comment 1 Andrew Niefer CLA 2011-05-24 16:46:11 EDT
Moving to e4 since this will onlf affect the 4.1SDK instead of all linux.gtk.x86_64
Comment 2 Andrew Niefer CLA 2011-05-24 17:47:02 EDT
Created attachment 196493 [details]
patch

Kim can you please review and release to R4_HEAD.

This patch includes the changes from bug 328478 as well
Comment 3 Kim Moir CLA 2011-05-24 21:23:25 EDT
+1 patch applied
Comment 4 Kim Moir CLA 2011-05-25 10:06:22 EDT
Sorry, applied to the wrong branch last night, now in patch in R4_HEAD branch.
Comment 5 Andrew Niefer CLA 2011-05-26 11:41:01 EDT
Running linux.x86_64, I updated to I20110526-0630 and org.eclipse.swt.internal.gtk.useCairo=true
showed up in my config.ini file.