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 325596 - wrong saving/loading of lines connected to other objects
wrong saving/loading of lines connected to other objects
Status: RESOLVED DUPLICATE of bug 108293
Product: dia
Classification: Other
Component: general
0.94
Other All
: Normal minor
: ---
Assigned To: Dia maintainers
Dia maintainers
Depends on:
Blocks:
 
 
Reported: 2006-01-03 09:45 UTC by Jan Spurny
Modified: 2006-01-06 10:48 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jan Spurny 2006-01-03 09:45:16 UTC
Please describe the problem:
When I save drawing with UML classes connected by zigzag lines (dia 0.94 on
debian gnu/linux) in *.dia native format and then open this file on different
computer (dia 0.94 on suse gnu/linux), some lines are disconnected on the end,
but they looks like beeing connected (red boxes) - they are just shifted to the
right and when I move a little the object to which the end of the line is
connected, the line suddenly connects to the object. 

Steps to reproduce:
I was not able to find easy way to reproduce the bug.
My best recommendation is:
1) create big schema full of UML classes connected by zigzag lines
2) save it into .dia format file
3) open the file
4) observe

Actual results:
some of the lines are not *visually* connected on one or both ends (they have
their endpoints painted id red, so they are actually connected)

Expected results:
all lines should connect at the same points where they connect on the other
computer.

Does this happen every time?
yes

Other information:
I thing the problem may be connected with different fonts available on each
computer...

This file (smallest part of big drawing which still shows the problem) -
http://sweb.cz/JSpurny/err.dia - demonstrates the problem (screenshots:
http://sweb.cz/JSpurny/err.dia.jpg )
Comment 1 Hans Breuer 2006-01-06 10:48:55 UTC
Yes - as described in bug #108293 Dia's object placement is font dependent.
Given two machines with same OS but different font sets you'll be able
to see this effect even with the default fonts "Serif", "Sans" cause they
may be resolved to different real fonts: e.g.: Verdana or Arial.

You should be able to overcome the problem to some extent by using
explicit fonts and not their vague synonyms.

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