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 59881 - resize of grouped objects is broken
resize of grouped objects is broken
Status: RESOLVED DUPLICATE of bug 59880
Product: dia
Classification: Other
Component: general
0.88.x
Other Linux
: Normal enhancement
: ---
Assigned To: Dia maintainers
Dia maintainers
Depends on:
Blocks: 95516
 
 
Reported: 2001-09-01 14:32 UTC by ellson
Modified: 2009-01-29 21:38 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description ellson 2001-09-01 14:32:47 UTC
resize of grouped objects is broken
Comment 1 James Henstridge 2001-09-01 14:57:19 UTC
actually, it isn't implemented.

Group resizing is actually a difficult problem for structured
graphics.  Quite often you can't just scale everything affinely.  
Comment 2 ellson 2001-09-01 16:05:45 UTC
I don't understand why there is more complexity in resizing
2 objects than there is in resizing 1, apart from an added
iterator?  All the difficult issues, such as deciding how to resize
fonts and line-widths, also apply to single object resizing, so
presumably those are already solved?
Comment 3 Cyrille Chépélov 2001-09-02 17:26:46 UTC
How do you resize the following sample ?

OK, easy. Now, in place of circles, think about UML Classes. How do 
you resize that diagram ? (and I'm sure James has more ideas about
problemful situations).

Solving these problems (defining the correct behaviour) would help a
lot towards implementing the solution. 
Comment 4 ellson 2001-09-02 19:04:23 UTC
I don't understand.  Are you telling me that UML shapes are not
defined by SVG in .shape files?   .....Aghh! I see they are not.

Any object, or set of objects, or grouped set of objects, or set of
grouped objects, ... , needs to be resizable.  So long as every
component has an SVG description why would this be difficult?

I'm worried that dia is backing itself into a corner here.  My
recommendation is that dia uniformaly require all shapes to be based
on .shape files.
Comment 5 James Henstridge 2002-05-02 01:26:49 UTC
Mass reassign of bugs to dia-maint@bugzilla.gnome.org.
Comment 6 Cyrille Chépélov 2002-05-06 05:28:03 UTC
Thanks for the recommendation. Of course, we would then loose all the
specific behaviour which makes dia a diagram editor, not a vector
program (well, there has been proposals to throw massive doses of XML
magic at this problem, but unfortunately for the moment they're still
mostly vapourware).

The problem is not "make this XML and the problem vanishes". The
problem is specifying what the expected _behaviour_ and then
implementing it. XML has never been a substitute for engineering
(well, ahem, it looks like it has been used as a substitute, in the
real world. Whoops.).
Comment 7 Alan Horkan 2002-07-14 13:43:54 UTC
This seems as if it is a duplicate of bug 59880

bug 59880 Summary: 
"Need resize of simple objects, of group objects, of arbitrary
selections of objects and/or groups.  Need fixed aspect resize,but
variable aspect resize could be useful too."  

if this bug does get closed as duplicate please the copy the most
useful comments to bug 59880
if it is not a duplicate please explain.  
Comment 8 Alan Horkan 2002-10-11 15:32:54 UTC
damn, i dont have enough permissions to change the summary, i was
trying to change it as follows:
old summary: resize of grouped objects is broken 
new summary: [RFE] resize of grouped objects wanted


I would really like to have groups that are resizalbe for at least the
simple cases, circles, polygons, etc.  

For shapes that contain text or something else that makes them
difficult to resize you would pop an error message of some kind.  

Perhaps Dia should implement the concept of "Locked shapes" that I
have seen in Visio and GoBe Productive.  

I think this feeds back into bug # 95516 because if grouping were
available users would be able to ungroup an object remove the
unresizable part (eg a bit of text) resize it and add their own text
label.  
Comment 9 Alan Horkan 2003-01-20 19:10:52 UTC
I gave some serious thought to how this is supposed to work.  (and
then i looked at visio, which i should have done in the first place
and saved myself a lot of thinking).  

Resizing groups Groups of simple shapes resize just the same as a
single simple shape would resize. 
Resising a group that contains text merely resizes the text area /
text box and leaves the text alone.  

The Text widget in Dia does not exaclty lend itself to doing this.  I
would suggest either leaving it alone and resizing the other objects
or instead pop up an error message and refuse to resize groups that
contain text objects (or other weird objects like UML).  

[While i am at it i may as well note a few other things:
Groups in visio (unlike in Dia) do not use a different selection
colour, they use the same colour green handles.  
Comment 10 Hans Breuer 2004-01-11 22:51:12 UTC
sorry, this wont happen anytime soon, setting to enhancement to get it
out of my way while fixing 'real' bugs ;)
Comment 11 Hans Breuer 2009-01-29 21:38:49 UTC
after years I fail to see the difference to the broader bug #59880

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