GNOME Bugzilla – Bug 325596
wrong saving/loading of lines connected to other objects
Last modified: 2006-01-06 10:48:55 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 )
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 ***