Subject: problem with colours when creating shapes
Date: Tue, 15 Oct 2002 18:22:19 +0100 (IST)
i have been trying to creat new shapes an having some colour problems.
I am hoping i can get some clarifcation and feedback before filing this
bug report. I am using Dia 0.90 on windows.
Create a polygon
set the fill and line colour to be the same colour (execpt black)
export to .shape
add the shape using the sheets and objects dialog*
draw using the new shape.
You should see that there is an unwanted black outline. It looks like two
very thin black lines.
If you look at the XML of the .shape file you will see that Dia in effect
specifies a shape twice. Once for the outline and once for the filled
shape. (another side effect of this si that you get duplicates of all the
connections points in the .shape file)
I tried deleting the outer outline polygon from the shape file leaving
only the filled polygon.
It did not work, it only resulted in the shame shape but as if i had
specified a black outline, even though i did not.
So what i think is happening is that the outline is getting drawn anyway,
only in the first case there is another coloured line on top of it so only
part of it is visible in the second case the unwanted outline is clearly
(i would provid a screenshot, but i managed to forgot the necessary cables
for my laptop and have spent the last 20 minutes destroying the floppy
drive, when the damned disk window got jammed. stress, aargh! "dont
make me angry, you wont like me when i am angry". I'll attach a screen
shot to a bug report later if necessary).
I need to be able to have shapes that are a filled with a single solid
colour. (I am drawing 3D directional map shapes).
And i cant get dashed/dottet lines to work in Dia 0.90 for windows (tried
on two win98 machines) and i get the feeling this problem might have been
mentioned before so i will check bugzilla.
* some problems with the sheets and objects dialog, which i intend to file
If you add a shape to the current sheet (and exit the sheets and objects
dialog) it will not appear until you change sheet and change back again.
An extra call to redraw/refresh is needed somewhere.
Also if you close the sheets and objects dialog without hitting apply you
changes will not take effect. Probably need to describe this better, but
it has got me a few times and I find it confusng.
I need take a more thorough look at the sheets and objects dialog.