[umbrello] [Bug 424916] New: Generalization with several template parameters is too far from the upper class boundary
Robert Hairgrove
bugzilla_noreply at kde.org
Sun Aug 2 12:03:45 BST 2020
https://bugs.kde.org/show_bug.cgi?id=424916
Bug ID: 424916
Summary: Generalization with several template parameters is too
far from the upper class boundary
Product: umbrello
Version: Git
Platform: Other
OS: Linux
Status: REPORTED
Severity: minor
Priority: NOR
Component: general
Assignee: umbrello-devel at kde.org
Reporter: code at roberthairgrove.com
Target Milestone: ---
Created attachment 130573
--> https://bugs.kde.org/attachment.cgi?id=130573&action=edit
Illustrates the behavior described
SUMMARY
The generalization starts from the derived class and is directed toward the
base class. In a class diagram, if the derived class is templated with many
parameters, the generalization line starts too far away from the top line of
the class' containing box.
STEPS TO REPRODUCE
1. Create two classes and add four template parameters to one of them;
2. Add both classes to a class diagram
3. Draw a generalization from the templated class to the other one.
OBSERVED RESULT
The generalization appears to begin at the vertical coordinate of the template
box, not of the class containing box (see attached PNG file).
EXPECTED RESULT
Line should start at the top of the class box.
SOFTWARE/OS VERSIONS
Linux Ubuntu 18.04.4
Qt Version: 5.x
ADDITIONAL INFORMATION
Not sure how difficult it would be to change this behavior without introducing
other bugs. One can always export the diagram as an image and fix it with the
GIMP or another paint program. At any rate, it is definitely only a minor
problem.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the umbrello-devel
mailing list