https://bugs.kde.org/show_bug.cgi?id=446020
--- Comment #11 from Oliver Kellogg <okell...@users.sourceforge.net> --- (In reply to Ralf Habacker from comment #8) > > One problem with this implementation is that if the origin is set to a fixed > value, elements in a diagram can also have coordinates < 0 [...] I agree that there is a hole in the current implementation. See https://bugs.kde.org/show_bug.cgi?id=449622#c3 / https://bugs.kde.org/show_bug.cgi?id=449622#c5 : Perhaps the first pass in loadFromXMI could be extended by detecting negative offsets and determining their maximum (i.e. most negative value), which could then be added to all coordinates in the second pass in order to avoid the negative values. Of course, more work is needed: To prevent negative coordinates from emerging in the first place, e.g. when moving widgets. To extend the diagram area at the left or at the the top, all widget coordinates would need to be shifted rightwards or downwards. It would probably be better to add an extra menu option for adding such space in the diagram, to prevent the user from unintentionally creating huge offsets as described in bug 449622 (IMO the lesson learned from that bug is that a fixed frame of reference is needed). -- You are receiving this mail because: You are watching all bug changes.