Bug 163386

Summary: Incorrect colours show up in a File->Save As Image File->BMP Format
Product: [Modeling] GMF-Runtime Reporter: Anthony Hunter <ahunter.eclipse>
Component: GeneralAssignee: Alex Boyko <aboyko>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 Keywords: contributed
Version: 1.0.2   
Target Milestone: 1.0.3   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
proposed patch none

Description Anthony Hunter CLA 2006-11-03 16:07:43 EST
Only happens on Linux:

Problem:
The colours on the bitmap image are often different from what the user selected from the preset colours list.  It doesn't happen with all colours, but a pinkish orange colour shows up as blue instead.  And a blue-grey golour shows up as an orangey colour instead.

Expected:
The colours on the bitmap image should match the colours the user selected
Comment 1 Alex Boyko CLA 2006-11-07 15:34:58 EST
Created attachment 53407 [details]
proposed patch

Patch fixing the colors for importing a diagram into BMP image.
Tested all other image format imports in Linux SUSE and WinXP with the fix
Comment 2 Cherie Revells CLA 2006-11-20 17:16:08 EST
I committed the patch for Alex:
[163386] gmf_R1_0_maintenance crevells 061120 Incorrect colours show up in a File->Save As Image File->BMP Format
[163386] gmf_head crevells 061120 Incorrect colours show up in a File->Save As Image File->BMP Format
Comment 3 Eclipse Webmaster CLA 2010-07-19 12:26:05 EDT
[GMF Restructure] Bug 319140 : product GMF and component
Runtime Diagram was the original product and component for this bug