After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 95524 - Shape Colour/Color allow user to change
Shape Colour/Color allow user to change
Status: RESOLVED DUPLICATE of bug 93933
Product: dia
Classification: Other
Component: shapes
0.91
Other All
: Normal enhancement
: ---
Assigned To: Alan Horkan
Dia maintainers
Depends on:
Blocks:
 
 
Reported: 2002-10-11 16:59 UTC by Alan Horkan
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Alan Horkan 2002-10-11 16:59:29 UTC
currently if the .shape file has color set to anything other than None
then users are not allowed to change the shape color when they use it.

As a result most of the templates have to be in boring black and white.  
If i were to set a shape as Red then it would have to stay red, and Dia
would not allow the user to change it.  

Hopefully i have explained this clearly enough.  

Need to dig up my previous posts about this from the archive.
Comment 1 Alan Horkan 2002-10-11 19:28:09 UTC
discussion from the mailing list.  

Answer [Re: cannot change shape fill color]
http://mail.gnome.org/archives/dia-list/2002-June/msg00414.html
  start of thread, but the above link is the most relevant one.  
  http://mail.gnome.org/archives/dia-list/2002-June/msg00403.html

a response from Steffen:
> You find the shape export code under plug-ins/shape.

Comment 2 Alan Horkan 2003-01-20 02:12:16 UTC
I have thought about this further and looked at how visio behaves.  

what visio does to a shape like this
  / \
 /   \
|\   /|
| \ / |
|  |  |
\  |  /
 \ | /
  \|/
that has a diffferent colour on each side

is changes them all to be whatever new fill colour you assign.
Although it is not ideal it is better than nothing.    

This behaviour seem to me a lot like assuming that the new foreground
colour applies to all the 
style="fill: #??????"
and the new background colour applies to all the 
stroke: #??????"

Hopefully my attempt at describing this will be of use when some one
tries to implement this.  
Comment 3 Alan Horkan 2003-03-29 19:20:35 UTC
mass bumping of version number to 0.91
Comment 4 Alan Horkan 2003-11-28 19:40:55 UTC

*** This bug has been marked as a duplicate of 93933 ***