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 331027 - objects in disorder after changing a groups properties
objects in disorder after changing a groups properties
Status: RESOLVED FIXED
Product: dia
Classification: Other
Component: general
0.95-preX
Other All
: Normal major
: 0.95
Assigned To: Dia maintainers
Dia maintainers
: 333656 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-02-13 18:11 UTC by wen
Modified: 2006-07-15 17:23 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
small flowchart diagram (1.68 KB, application/x-dia-diagram)
2006-02-13 18:13 UTC, wen
Details

Description wen 2006-02-13 18:11:43 UTC
Please describe the problem:
I am having a diagram with objects from the Flowchart-shapes. When I group some
of those objects (with black outlines) and switch line color to white (#FFFFF)
and click apply,  the objects overlap and are not in one horizontal line anymore.
This happens with dia 0.95pre1 on debian etch.
I cant reproduce this bug with dia 0.94.

Steps to reproduce:
1. Open the attached file Diagramm2.dia
2. Select the five objects in the upper row by pressing Shift and clicking on
each of them 
3. Group them with Strg+G
4. Right-click on the Group and select objects->properties
5. Change the line color to white (#FFFFFF)
6. Press Apply



Actual results:
Now the objects have moved. Especially the second from the left is overlapping
the connection to the very left object. This misorder stays when one  switches
the line color back to black.

Expected results:


Does this happen every time?
yes

Other information:
Comment 1 wen 2006-02-13 18:13:41 UTC
Created attachment 59277 [details]
small flowchart diagram
Comment 2 Hans Breuer 2006-02-17 16:56:54 UTC
This is another unwanted (but more serious) side-effect of 
bug #328200 'Element width/height in Properties dialog breaks ...'
It is alrady discussed their as can be 'considered a bug'.

The work-around is to group something without elem_width/eleme_height
fields like one of the lines. Thus the shape will stay unchanged.

IMO the Element width and height fields should be removed from the
visible properties again - or at least mark as PROP_FLAG_DONT_MERGE
to avoid resizing object in groups. Lars?
Comment 3 wen 2006-02-27 11:48:21 UTC
The bug doesn't occur with dia-0.95-pre3 anymore. So I think you can close this bug.

Best regards,
wen
Comment 4 Hans Breuer 2006-02-27 19:10:06 UTC
Fixed by:

2006-02-26  Lars Clausen  <lars@raeder.dk>

	* lib/element.h (ELEMENT_COMMON_PROPERTIES): Turning off setting
	of element_width and element_height until constraints can be 
	properly checked.


See also: http://mail.gnome.org/archives/dia-list/2006-February/msg00130.html
 
Comment 5 Hans Breuer 2006-03-06 21:18:14 UTC
*** Bug 333656 has been marked as a duplicate of this bug. ***
Comment 6 Hans Breuer 2006-07-15 17:23:13 UTC
moving away form 0.95-pre1 to delete that label afterwards. Sorry for the noise.