Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 347086 - Add property to turn on Cairo on x86_64
Summary: Add property to turn on Cairo on x86_64
Status: RESOLVED FIXED
Alias: None
Product: e4
Classification: Eclipse Project
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 4.1 RC3   Edit
Assignee: Andrew Niefer CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-24 16:37 EDT by Bogdan Gheorghe CLA
Modified: 2013-10-21 02:56 EDT (History)
4 users (show)

See Also:


Attachments
patch (5.36 KB, patch)
2011-05-24 17:47 EDT, Andrew Niefer CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.