Bug 424916 - Generalization with several template parameters is too far from the upper class boundary
Summary: Generalization with several template parameters is too far from the upper cla...
Status: REPORTED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: Git
Platform: Other Linux
: NOR minor
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-02 11:03 UTC by Robert Hairgrove
Modified: 2020-08-02 11:03 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Illustrates the behavior described (90.65 KB, image/png)
2020-08-02 11:03 UTC, Robert Hairgrove
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Hairgrove 2020-08-02 11:03:45 UTC
Created attachment 130573 [details]
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.