archi icon indicating copy to clipboard operation
archi copied to clipboard

Copy and paste no longer works on any version or OS

Open menesbatto opened this issue 5 months ago • 3 comments

Archi Version 5.1, 5.5, 5.6 (both installable and portable)

Operating System Windows 10 and Windows 11

Archi Plug-ins None

Description Suddenly, copy and paste functionality stopped working, both using the keyboard (CTRL+C and CTRL+V) and the mouse (right-click menu). When I copy an object (business actor, application component, etc.), I cannot paste it: the "Paste" option is not enabled. This was working fine until a few days ago. I tried installing different versions (5.1, 5.5, 5.6, both "installable" and "portable"), but the problem remains in all of them. Deleting all files in the application's "data" folder does not fix the issue either.

Steps to reproduce

  1. Select any object (e.g., business actor, application component)
  2. Press CTRL+C or right-click and choose "Copy"
  3. Try to paste in the same or a different model
  4. The "Paste" option is disabled, and no object is pasted

No plug-ins are installed and the problem occurs on different PCs and OSes.

menesbatto avatar Jun 17 '25 08:06 menesbatto

Hi,

  1. Select any object (e.g., business actor, application component)

I assume you mean a diagram object in a View?

  1. Try to paste in the same or a different model

Are you trying to paste to a View or the Models Tree?

Copy and Paste does work on diagram objects and always has done. Ensure you are copying and pasting to Views not the Models Tree.

Phillipus avatar Jun 17 '25 08:06 Phillipus

Hi, thank you for response. Yes I'm working in View No I'm trying to copy and paste from a view to the same view (in the past the object are renamed with " (copy)" extension) or another view, but I can't.

This happen to all my colleagues, and many of them are switching to Visio -____-'

This is the image where you can see that "paste" option is not selectable.

Image

menesbatto avatar Jun 17 '25 09:06 menesbatto

Perhaps something has changed in your configuration or installed software or there's something stopping objects being copied to the clipboard. Do you have some software installed that might interfere with the system clipboard or security settings that restrict clipboard access?

You'll need to investigate this at your end because we've never had this issue reported before.

Phillipus avatar Jun 17 '25 09:06 Phillipus

I think I solve. The admins told me they didn't know about any restriction.

  • I started IDE Eclipse,

  • I have an old version on my OS that doesn't run because wanted JVM 21 or greater.

  • I edited eclipse.ini file, adding: -vm C:\Program Files\Java\jdk-22\bin\javaw.exe

  • Eclipse started

  • I also edited Archi.ini with the same parameter and it works.

In those days I received also other upgrades on my pc, so I don't know if the editing of the ini file is the real thing that has solved the problem.

menesbatto avatar Jun 19 '25 09:06 menesbatto

I started IDE Eclipse an old eclipse version on my OS that doesn't run because wanted JVM 21 or greater. I edited

How does that affect Archi? What has the Eclipse IDE got to do with it?

Archi has its own bundled JVM so unless you deleted it you don't need to change the VM setting.

Phillipus avatar Jun 19 '25 09:06 Phillipus

Assuming this is resolved now.

Phillipus avatar Jun 24 '25 07:06 Phillipus