[umbrello] [Bug 446020] Bird's eye view shows nothing at first open
"Oliver Kellogg" <[email protected]> Sat, 16 Mar 2024 19:50:32 +0000
| Newsgroups | gmane.linux.umbrello.devel |
|---|---|
| Message-ID | <[email protected]/> |
https://bugs.kde.org/show_bug.cgi?id=446020 --- Comment #11 from Oliver Kellogg <[email protected]> --- (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 the assignee for the bug.