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 86238 - width line in UML objects
width line in UML objects
Status: RESOLVED FIXED
Product: dia
Classification: Other
Component: general
0.94
Other Linux
: Low enhancement
: 0.98
Assigned To: Dia maintainers
Dia maintainers
: 86239 728590 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2002-06-23 09:22 UTC by Santiago Faci
Modified: 2014-05-11 09:57 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Santiago Faci 2002-06-23 09:22:04 UTC
The width line in UML objects cannot be modified.
Comment 1 Hans Breuer 2002-06-24 12:07:58 UTC
*** Bug 86239 has been marked as a duplicate of this bug. ***
Comment 2 Hans Breuer 2002-06-24 12:10:56 UTC
Setting priority to low and severity to enhancement.
I'm not even sure if it would be an enhancement to
make the line width user selectable but anyway ...
Comment 3 Santiago Faci 2002-06-24 14:38:44 UTC
I put this bug because the selectable width line is a enhancement for
all dia predefined objects except for UML objects. I think it should
be considered as a bug.
Comment 4 Cyrille Chépélov 2002-09-25 18:12:51 UTC
To abound towards Santiago's direction, we added sometime after 0.88.1
the ability to change fonts in UML objects. It would make sense to
enable the user to change line widths (and why not, colours)
Comment 5 Alan Horkan 2005-03-03 18:43:30 UTC
> enable the user to change line widths (and why not, colours)

foreground and background colours already seem to work for almost all objects
UML in Dia 0.94 (the only exception being the UML Activity object and I filed
bug 169107 for it).  

Looking at this got me wondering why the Line width property is not also shown
when you double click on any of the line tools (in addition to or instead of
having it in the toolbox).  Perhaps I'll file a seperate enhancement report for
that later.  
Comment 6 Lars Clausen 2005-03-05 17:11:37 UTC
Because it would be confusing.  Is it the same property or distinct?  
Comment 7 Don Pellegrino 2007-03-13 14:36:53 UTC
This bug has aged a bit, however I believe that this is an important enhancement.  Thinner lines makes for cleaner diagrams and the UML line widths are too wide.  They make the output look ugly.  I would be happy to help with the fix if someone could direct me to the appropriate bit of code.  Also, I would like to change the default fonts used by the UML objects, as I feel that the current defaults are too large.  I will file a separate enhancement request for this.  A possible implementation of the fix would be to have Dia remember the line width and font preferences for the last object and to apply them to future objects automatically, with an option to set the preferences back to defaults if desired.
Comment 8 Lars Clausen 2007-04-16 19:30:23 UTC
The UML properties are defined in object/UML/class.c, line width can be added there like it is done in any other object.  It should replace uses of UMLCLASS_BORDER in class.c and be properly loaded, saved and copied in class.c.  Moreover, in class_dialog.c, a new widget for setting it should be added, and reading from that/filling it in should be added, too.  
Comment 9 Hans Breuer 2008-10-17 20:16:06 UTC
part of this is available by:

2008-10-12  Hans Breuer  <hans@breuer.org>

	* objects/UML/actor.c objects/UML/class.[ch]
	  objects/UML/class_dialog.c objects/UML/large_package.c
	  objects/UML/note.c objects/UML/object.c
	  objects/UML/small_package.c objects/UML/usecase.c : configurable
	line-width for UML elements, patch from Pablo Gra\~na

Comment 10 Hans Breuer 2010-09-18 15:43:28 UTC
Should be completed by:
http://git.gnome.org/browse/dia/commit/?id=9ac7c0aa4b2c1edc001fb5f9e2e0ce1803bae103
Comment 11 Hans Breuer 2014-05-11 09:57:25 UTC
*** Bug 728590 has been marked as a duplicate of this bug. ***