vscode icon indicating copy to clipboard operation
vscode copied to clipboard

command actions (copy, paste, etc.) do no work on macOS

Open arjangeertsema opened this issue 5 months ago • 6 comments

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: Version: 1.85.2 (Universal)
  • OS Version: Darwin arm64 23.1.0

Steps to Reproduce:

  1. Install plugin
  2. Create a file with the extension .bpmn
  3. Create a Task
  4. Double click on the task (contenteditable)
  5. Type text
  6. ctrl+a or command+a does not work on macOs
  7. ctrl+c or command+c does not work on macOs
  8. ctrl+v or command+v does not work on macOs

See also the extension issue: https://github.com/bpmn-io/vs-code-bpmn-io/issues/92

Further relevant information:

  • It works on windows
  • It works on macOs in the browser
  • This bug is only showing up for the combination macOS and vscode
  • When typing inside a contenteditable area only the key up is recognized by the key binding service

arjangeertsema avatar Jan 29 '24 09:01 arjangeertsema

Have you reported this to the extension author yet?

gjsjohnmurray avatar Jan 29 '24 11:01 gjsjohnmurray

Hello @gjsjohnmurray , yes this is already reported there. I am also reporting it here because it does not work only for the combination vscode and macOS. My question for you guys, are there specific requirements for macOS and vscode extensions which can cause this unexpected behaviour?

arjangeertsema avatar Jan 29 '24 15:01 arjangeertsema

Please link to the issue on the extension repo.

gjsjohnmurray avatar Jan 29 '24 15:01 gjsjohnmurray

Assigned you @mjbvz for webviews. one observation, right click copy works but cmd+c does not.

TylerLeonhardt avatar Feb 15 '24 00:02 TylerLeonhardt

Another observation. I just tried a similar flow with https://marketplace.visualstudio.com/items?itemName=pomdtr.excalidraw-editor and it worked fine.

TylerLeonhardt avatar Feb 15 '24 00:02 TylerLeonhardt

Another observation cmd+e does work. So only the cmd+key combinations do not work which are used in bpmn-js.

arjangeertsema avatar Feb 18 '24 10:02 arjangeertsema