Summary: | Copy/Paste of activity, state and use case diagram elements do not create new elements | ||
---|---|---|---|
Product: | [Applications] umbrello | Reporter: | Ralf Habacker <ralf.habacker> |
Component: | general | Assignee: | Umbrello Development Group <umbrello-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Unlisted Binaries | ||
OS: | All | ||
Latest Commit: | Version Fixed In: | 4.8.0 | |
Sentry Crash Report: |
Description
Ralf Habacker
2012-01-15 00:00:02 UTC
The use case diagram has a similar problem. Copy/pasted elements do have the same xmiid as the element from which they has been copied from, but umbrello forbids connecting the origin and the copied element because of the same id. > The state diagram, which is similar to the activity diagram, does not have this
issue.
There are still cases which affects the state diagram, changed the title of this bug.
Bug https://bugs.kde.org/show_bug.cgi?id=107358 related to this issue. SVN commit 1273895 by habacker: Fixed copy & pasting of elements in activity and state diagrams. M +6 -1 umlclipboard.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1273895 Adding a similar patch to fix the use case diagram issue do not fix the issue - need to analyse more. The difference to state or activity diagram elements is that use case diagram elements have a uml object connected to, which is displayed in the list view. A copy and paste of such elements refers to the same uml object. To copy a use case element there is currently only the duplicate function in the context menu available, which is very unflexible and inconsistant. One cannot duplicate connections for example. The question is for what purpose this difference is good or required ? It provides a non uniq user interface. This issue has been already raised in https://bugs.kde.org/show_bug.cgi?id=107358, so a replacement of the duplicate function with copy&paste seem to make real sense and more natural. Use case diagrams uses element linking on copy/paste by current design. A different implementation of this is handled at bug 107358. set version-fixed-in from 4.8.0 changelog |