Issue 116617

Summary: Export SWF - line width error
Product: Draw Reporter: piggin <forum>
Component: save-exportAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: issues
Version: OOo 3.2.1   
Target Milestone: ---   
Hardware: All   
OS: Windows, all   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Description Flags
OpenOffice Draw file showing correct line widths (green)
Macromedia Flash file as example of error (thick green lines)
SWF file after line is given 25-per-cent transparency none

Description piggin 2011-01-25 21:11:20 UTC
Summary: When exporting swf (Macromedia Flash) files from the OO Draw 
application, continuous lines with small finite widths are not displayed by the 
Flash client at the preset width, but are bulked out with shadow on both sides 
and become much wider.

# open a new OO Draw document
# set page width to 3,000 mm
# draw several circles approx 30 mm diameter using default style
# draw several "straight connector" lines between the gluepoints on circles 
using the default width (0.00 mm or 1 pixel)
# create a new style
# edit Line tab of this style, chose line width 2.5 mm
# select the straight connector lines and apply this new style to them
# save page as odg, then export the page using Menu File > Export ... > 
Macromedia Flash(SWF) 
# open this SWF file using Adobe Flash Player plugin
# zoom in by using context menu to see the tiny features just drawn

Result: the straight connector lines are much wider than in the Draw 

The styles.xml file calls this line "solid" but the interface calls 
it "continuous".
Care was taken to turn off any possible shadowing. The remaining tabs remained 
# Connector: standard connector
# Transparency: no transparency
# Shadowing: properties box "use shadow" UNchecked 
Experimentation shows that this bug does not seem to occur in the swf export if:
# the line is changed from continuous to another style, for example 2.50 mm, 
dashed, 25 per cent transparency.
# the line is reverted to 0.00 width
The impact of the problem can be slightly reduced if:
# the continuous line is given a degree of transparency, for example 25 per 
cent; in this case the Flash display contains a fairly solid central line with 
fainter shadows both sides that partly obscure other elements on the drawing. 
Attempts to work around the problem by editing the style sheet, deleting any 
other styles that might interfere with line width, did not yield a solution.
This problem was found using both OO 3.2.1 in Windows 7 and 00 3.1.1 in Windows 
XP. The behaviour is the same in both.
Comment 1 piggin 2011-01-25 21:17:06 UTC
Created attachment 75646 [details]
OpenOffice Draw file showing correct line widths (green)
Comment 2 piggin 2011-01-25 21:20:12 UTC
Created attachment 75647 [details]
Macromedia Flash file as example of error (thick green lines)
Comment 3 piggin 2011-01-25 21:55:33 UTC
Created attachment 75648 [details]
SWF file after line is given 25-per-cent transparency
Comment 4 wolframgarten 2011-01-26 06:15:36 UTC
Reproducible. Reassigned.