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

Bug 327693

Summary: SWTGraphics#copyLineAttributes() doesn't copy dashOffset.
Product: [Tools] GEF Reporter: Maksym Bykovskyy <bykovskyy.maksym>
Component: GEF-Legacy Draw2dAssignee: Alex Boyko <aboyko>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: ahunter.eclipse, bykovskyy.maksym
Version: unspecified   
Target Milestone: 3.6.2 (Helios SR2)   
Hardware: PC   
OS: Windows Vista   
Whiteboard:
Attachments:
Description Flags
patch none

Description Maksym Bykovskyy CLA 2010-10-13 13:20:41 EDT
Build Identifier: 20100617-1415

I noticed that I couldn't offset dash in a custom line. Looking at the SWTGraphics#copyLineAttributes() code I noticed that it copies everything except the dashOffset.

Reproducible: Always
Comment 1 Alex Boyko CLA 2010-10-13 13:56:08 EDT
Created attachment 180807 [details]
patch

The patch.
Comment 2 Alex Boyko CLA 2010-10-15 11:12:21 EDT
Delivered the fix to maintenance and HEAD for 3.6.2. Trivial fix.