View Issue Details

IDProjectCategoryView StatusLast Update
0003091ScribusScripterpublic2006-05-02 08:09
Reportersleighboy Assigned Tosubik  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionduplicate 
Platformx86OSWindowsOS Version2000 SP4
Product Version1.3.2 
Fixed in Version1.3.4cvs 
Summary0003091: createLine does not like vertical lines
DescriptionI want to create vertical lines for a chart. Passing identical x coords produces strange results. Lines that are too short and near invisible, or not corectly following thier porportions. Yet lines with identical y coords work fine every time.

Steps To Reproducemargins = (.25, .25, .25, .25)
size = (6.5, 8.5)

newDocument(size, margins, 0, 1, 2, NOFACINGPAGES, FIRSTPAGELEFT)
setUnit(2)


#Top thicker line , this line works
col_head_top = createLine(0.25,0.8,6.25,0.8)
setLineWidth(2,col_head_top)

#Lower thinner line, this line works
col_head_bot = createLine(0.25,0.925,6.25,0.925)
setLineWidth(1,col_head_bot)

#First vertical line, THIS LINE DOES NOT RENDER CORRECTLY!
sheet_vert_line_one = createLine(0.8, 1, 0.8, 6)
setLineWidth(1,sheet_vert_line_one)

#A nother vertical line, THIS LINE DOES NOT RENDER CORRECTLY!
sheet_vert_line_two = createLine(1, 4.5, 2, 0.8)
setLineWidth(1,sheet_vert_line_two)
TagsNo tags attached.
Patch

Relationships

related to 0003294 closedsubik createLine will not create a vertical line properly 

Activities

ringerc

2006-01-25 08:02

reporter   ~0008333

Can you reproduce the problem if you use the default units (points) ?

sleighboy

2006-01-25 18:01

reporter   ~0008348

Last edited: 2006-01-25 23:09

Yes I can.
Here is the modified code I tested with.

margins = (.25, .25, .25, .25)
size = (600.5, 800.5)

newDocument(size, margins, 0, 1, 0, NOFACINGPAGES, FIRSTPAGELEFT)
setUnit(0)

#A nother vertical line, THIS LINE DOES NOT WORK!
sheet_vert_line_two = createLine(100, 45, 100, 308)
setLineWidth(1,sheet_vert_line_two)

ringerc

2006-01-26 07:29

reporter   ~0008370

Yeah, there's certainly something very odd going on here. The lines are visible in the outline palette, but seem to end up at very strange locations and angles, and with zero apparent width. Dragging them to resize them often collapses them to a point, from which the correct line is dragged.

cbradney

2006-04-29 00:03

administrator   ~0010621

Reminder sent to: subik

Subik, is this the same as 0003294? Sounds like it. If so, please close this as duplicate.

subik

2006-05-02 07:25

manager   ~0010764

all examples works fine now. Fixed by bug no. 0003294.

Issue History

Date Modified Username Field Change
2006-01-24 21:31 sleighboy New Issue
2006-01-25 08:02 ringerc Note Added: 0008333
2006-01-25 08:02 ringerc Status new => acknowledged
2006-01-25 18:01 sleighboy Note Added: 0008348
2006-01-25 23:09 sleighboy Note Edited: 0008348
2006-01-26 07:29 ringerc Note Added: 0008370
2006-01-26 07:29 ringerc Status acknowledged => confirmed
2006-04-29 00:02 cbradney Relationship added related to 0003294
2006-04-29 00:03 cbradney Note Added: 0010621
2006-05-02 07:25 subik Status confirmed => resolved
2006-05-02 07:25 subik Fixed in Version => 1.3.4cvs
2006-05-02 07:25 subik Resolution open => duplicate
2006-05-02 07:25 subik Assigned To => subik
2006-05-02 07:25 subik Note Added: 0010764
2006-05-02 08:09 mhanski Status resolved => closed