Coder Social home page Coder Social logo

Comments (24)

constantinov avatar constantinov commented on May 18, 2024 6

On mac cmd + c and cmd + v keyboard shortcuts aren't working for copy/paste. The menu does work.

have same issue when connecting an external usb keyboard to my mac. cmd + c and cmd + v keyboard shortcuts work on the original keyboard, but do not work on the external usb keyboard. cmd + c and cmd + v works fine in other apps.
The issue only exists when key modifiers enabled:
image

from drawio-desktop.

Cloudzay avatar Cloudzay commented on May 18, 2024 5

On mac cmd + c and cmd + v keyboard shortcuts aren't working for copy/paste. The menu does work.

have same issue when connecting an external usb keyboard to my mac. cmd + c and cmd + v keyboard shortcuts work on the original keyboard, but do not work on the external usb keyboard. cmd + c and cmd + v works fine in other apps.
The issue only exists when key modifiers enabled:
image

same problem。
but when press shortcuts at the right side cmd(alias of option), it works

exactly the same, version 12.6.5

from drawio-desktop.

LeungGeorge avatar LeungGeorge commented on May 18, 2024 4

On mac cmd + c and cmd + v keyboard shortcuts aren't working for copy/paste. The menu does work.

have same issue when connecting an external usb keyboard to my mac. cmd + c and cmd + v keyboard shortcuts work on the original keyboard, but do not work on the external usb keyboard. cmd + c and cmd + v works fine in other apps.
The issue only exists when key modifiers enabled:
image

same problem。
but when press shortcuts at the right side cmd(alias of option), it works

from drawio-desktop.

EgleKat avatar EgleKat commented on May 18, 2024 3

Still an issue in 13.7.9

from drawio-desktop.

m-mohamedin avatar m-mohamedin commented on May 18, 2024 2

The MacOS external keyboard copy/paste issue will be fixed in the next release

from drawio-desktop.

corymayer avatar corymayer commented on May 18, 2024 1

The shortcuts are still not working for me on the desktop version. I have the same keyboard setup as the person in this issue: #38

from drawio-desktop.

michaelmcdonald avatar michaelmcdonald commented on May 18, 2024

Some more details as I'm experiencing the same issue:
OPERATING SYSTEM: macOS Sierra (v10.12.6)
DRAWIO VERSION: v7.1.9
ISSUE: Any text field where text can be entered does not accept the keyboard hotkeys for copy / paste (CMD + C / CMD + V) on the desktop application. The web application works without issue.

from drawio-desktop.

alderg avatar alderg commented on May 18, 2024

Like you pointed out this is a bug in Electron (ie. copy/paste isn't working for any text element - which is what we use behind the scenes to integrate with the system clipboard), so we need to wait for them to fix this.

from drawio-desktop.

davidjgraph avatar davidjgraph commented on May 18, 2024

electron/electron#2308

from drawio-desktop.

alexhayes avatar alexhayes commented on May 18, 2024

The shortcuts do not work for me on the web version either 😢

from drawio-desktop.

davidjgraph avatar davidjgraph commented on May 18, 2024

Issue for online version is ubuntu only, jgraph/drawio#262. If you can repeat on other OS, please provide environment on other project.

from drawio-desktop.

cpierson-gnw avatar cpierson-gnw commented on May 18, 2024

Issue for online version is ubuntu only, jgraph/drawio#262. If you can repeat on other OS, please provide environment on other project.

OS: macOS Mojave 10.14.6 (18G87)
Desktop version: 12.1.0

Not only do shortcuts not work for me on desktop, I cannot copy and paste even using menu options. I get the same error when trying to duplicate a page.
Screen Shot 2019-10-23 at 12 31 39 PM

::edit:: I've confirmed this in the web client as well, same error, same exact behavior.

from drawio-desktop.

alderg avatar alderg commented on May 18, 2024

Does this happen only with a specific selection of cells or with any cell, like a single rectangle?

from drawio-desktop.

cpierson-gnw avatar cpierson-gnw commented on May 18, 2024

No specific selection, happens with any. However, I was able to get it working on the web client but not desktop. I am using a plug-in that was not reloaded when I moved to a new machine. Loading the plug-in to the web client works, but does not fix the issue on desktop, even after closing, restarting, and confirming the plug-in on restart.

from drawio-desktop.

alderg avatar alderg commented on May 18, 2024

But without the plugin this error does not occur?

from drawio-desktop.

cpierson-gnw avatar cpierson-gnw commented on May 18, 2024

Web browser

  • Without the plug-in, this error occurs 100% of the time, as I am attempting to copy something that was built using the plug-in.
  • With the plug-in, this error occurs 0% of the time.

Desktop client

  • Without the plug-in, this error occurs 100% of the time.
  • With the plug-in, this error occurs 100% of the time.

Desktop tells you after loading a plug-in, that it will be loaded on refresh. However, even after closing and reloading the app, the plug-in does not appear in the left sidebar, which makes me think it is a plug-in loading issue on the desktop client.

With all that said, however, the error message, "Illegal constructor" leaves a LOT to be desired. It is unclear to the end user what is necessary to resolve the issue, if anything. Of course, if nothing can be done by the end user to resolve, then a message asking them to reach out for support should be provided instead.

from drawio-desktop.

alderg avatar alderg commented on May 18, 2024

So the plugin produces invalid XML that is causing this error to appear?

from drawio-desktop.

cpierson-gnw avatar cpierson-gnw commented on May 18, 2024

No, the plug-in doesn't load on desktop. See attached images, one from web browser, other from desktop. C4 Model is missing - the plug-in is here: https://tobiashochguertel.github.io/c4-draw.io/c4.js
Screen Shot 2019-10-30 at 10 24 22 AM
Screen Shot 2019-10-30 at 10 25 09 AM

from drawio-desktop.

alderg avatar alderg commented on May 18, 2024

But the file, ie the XML, was created using that plugin, then loaded into the desktop version? AFAIK the C4 plugin produces invalid XML, we have reached out to the author and asked for a fix some time ago.

from drawio-desktop.

cpierson-gnw avatar cpierson-gnw commented on May 18, 2024

Correct, the file was created using that plug-in and then loaded into the desktop version where that plug-in is also installed.

If it produces invalid XML, why does it work on the web browser?

Additionally, my comment about error text still stands.

from drawio-desktop.

alderg avatar alderg commented on May 18, 2024

The desktop version does not load the plugin, it is sandboxed, and the plugin overrides the I/O system of the editor and defines special constructors, which are not available in the desktop if the plugin does not load.

from drawio-desktop.

m-mohamedin avatar m-mohamedin commented on May 18, 2024

I cannot reproduce the issue on 10.15.6 with an external KB using the same key modifier.

Can anyone confirm it is still an issue?

from drawio-desktop.

imageslr avatar imageslr commented on May 18, 2024

Still an issue in 10.15.5, please see #326 (comment)

from drawio-desktop.

e-desouza avatar e-desouza commented on May 18, 2024

Still an issue with 14.1.8. Doesn't even work if I change App Shortcuts for it on OSX (tried changing to ⌥C and ⌥V). It did work intermittently though - approx 1 every 15 attempts.

Workaround : Install the Draw.io Integration for VS Code ! As close as it comes to an offline version of this working remapped keys.

from drawio-desktop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.