Created attachment 144906 [details] Contains packages_umbrello.png and packages_correct.png SUMMARY Packages containing other objects are not displayed in a useful manner. First of all, the package name should be displayed in the tab if it contains other packages, classes, or other objects. Second, the contained objects do not move with their parent package, but are shown exclusively with the older "⊕---" notation. STEPS TO REPRODUCE 1. In a class diagram, add a new package, e.g. "Qt" (see attached images); 2. Add a few classes and/or other packages to the diagram. They can be arranged so as to "look like" they are enclosed by the Qt package, but they are not shown in the model tree view as children until they are moved. Move them so that they appear as subobjects of the "Qt" package. 3. Move the "Qt" package away, and the subpackages do not move, but have an ownership association line drawn to them. OBSERVED RESULT See attached screenshot "packages_umbrello.png" EXPECTED RESULT See attached screenshot "packages_correct.png" (drawn with Modelio) SOFTWARE/OS VERSIONS Linux: Ubuntu 18.04.06 KDE Plasma Version: ??? KDE Frameworks Version: 5 Qt Version: 5.12.9 ADDITIONAL INFORMATION Umbrello compiled from Git, latest version as of yesterday (27 December 2021)
(In reply to Robert Hairgrove from comment #0) > [...] > STEPS TO REPRODUCE > 1. In a class diagram, add a new package, e.g. "Qt" (see attached images); > 2. Add a few classes and/or other packages to the diagram. They can be > arranged so as to "look like" they are enclosed by the Qt package, but they > are not shown in the model tree view as children until they are moved. Granted, creating nested packages from within the diagram is much harder than from within the tree view. Using the fix for bug 447661, there is a trick for how the moving as a group can be done: Once the packages are created from the tree view and are dragged to the diagram with the desired nesting/containment, in order to move them as a group pull a rectangle around them using the arrow tool. On moving, they will maintain their relative positions.