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

Bug 349089

Summary: PerspectiveSwitcher Error when no cairo library present
Product: [Eclipse Project] e4 Reporter: Bogdan Gheorghe <gheorghe>
Component: UIAssignee: Bogdan Gheorghe <gheorghe>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: emoffatt, Mike_Wilson, pwebster
Version: unspecifiedFlags: Mike_Wilson: pmc_approved+
gheorghe: review? (emoffatt)
Target Milestone: 4.1 RC4   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Patch none

Description Bogdan Gheorghe CLA 2011-06-10 15:37:18 EDT
On platforms where there is currently no cairo binding built (ie. HPUX), we should check if the platform is capable of advanced graphics before making a call.

Specifically, we try to use antialiasing in the perspective switcher and this dies on HPUX. The fix is to only try to use if advanced graphics is present.
Comment 1 Bogdan Gheorghe CLA 2011-06-10 15:38:49 EDT
Created attachment 197814 [details]
Patch
Comment 2 Mike Wilson CLA 2011-06-10 15:41:43 EDT
Agree that we need to do this to support all platforms.
Comment 3 Eric Moffatt CLA 2011-06-11 14:48:38 EDT
The patch has been committed, marking as FIXED. Bogdan, please check on a build >20110609.
Comment 4 Bogdan Gheorghe CLA 2011-06-13 14:13:05 EDT
Verified in I20110612-2200