Bug 102952 - Foreground color gets lost when painting a Path
Summary: Foreground color gets lost when painting a Path
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.0.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1.1   Edit
Assignee: Silenio Quarti CLA Friend
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-06 18:10 EDT by Randy Hudson CLA Friend
Modified: 2005-09-09 16:24 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Randy Hudson CLA Friend 2005-07-06 18:10:09 EDT
We have a test case which fails only on windows.

The test turns off advanced graphics, sets the foreground color to black, and
then draws a path.  The path is rendered using dark blue, the previous
foreground color used.

The class is AdvancedGraphicsTests in the draw2d.tests project. the specific
test is "testPathDraw" which is commented out to avoid failing during our builds.
Comment 1 Silenio Quarti CLA Friend 2005-07-07 11:58:38 EDT
Fixed > 20050707.
Comment 2 Randy Hudson CLA Friend 2005-07-07 12:06:59 EDT
Could the SWT team PLEASE set TARGET MILESTONES like every other component!!
I'm going to assume 3.1.1.
Comment 3 Steve Northover CLA Friend 2005-07-07 12:51:47 EDT
... only if the fix will actually be included in 3.1.1.
Comment 4 Veronika Irvine CLA Friend 2005-09-09 14:45:43 EDT
This has not been patched to 3.1.1.
Reopening to consider for 3.1.1.
Comment 5 Billy Biggs CLA Friend 2005-09-09 16:24:30 EDT
Fix committed to the 3.1.1 stream > 20050909.