archimatetool / archi

Archi: ArchiMate Modelling Tool
https://www.archimatetool.com
MIT License
966 stars 269 forks source link

Cannot move a model fragment from one view to another #712

Closed stefjoosten closed 3 years ago

stefjoosten commented 3 years ago

Version of Archi

I am using Archi vs. 4.8.0

Archi Plug-ins

I have jArchi installed

Operating System

I am on MacOS Cataline vs. 10.15.7

Expected Behaviour

I want to move a model fragment from one view to another by cut and paste (^X^V). This worked fine in Archi vs. 4.6.0.

Actual Behaviour

In the resulting (pasted) fragment, the names of objects are marked with " (copy)". I would expect that behavior from copy & paste (^C^V), not from cut & paste (^X^V). So in this new version of Archi, how can I move a model fragment?

Steps to Reproduce the Behaviour

  1. Open an arbitrary view in an arbitrary ArchiMate model.
  2. Select a number of elements (e.g. by ^A).
  3. press ^X; the code fragment vanishes to the clipboard.
  4. create a new view
  5. in this new view, paste the fragment. The objects are now marked with " (copy)".
Phillipus commented 3 years ago

Nothing has changed in this aspect between 4.6.0 and 4.8.0 (BTW the latest version is 4.8.1). When I follow your steps I don't see the " (copy)" in the pasted elements. This should only happen if the elements already exist in the target View or if you Paste twice then you will see the " (copy)" on the second paste action.

There is also a "Paste Special" option which allows to paste without creating new copies (explained in the User Guide.)

Phillipus commented 3 years ago

Closing as cannot reproduce.