-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cmd + c/v not working with alternate modifier keys in Mac OS #2
Comments
Some more details as I'm experiencing the same issue: |
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. |
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 |
This comment has been minimized.
This comment has been minimized.
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) 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. ::edit:: I've confirmed this in the web client as well, same error, same exact behavior. |
Does this happen only with a specific selection of cells or with any cell, like a single rectangle? |
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. |
But without the plugin this error does not occur? |
Web browser
Desktop client
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. |
So the plugin produces invalid XML that is causing this error to appear? |
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 |
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. |
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. |
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. |
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? |
Still an issue in 10.15.5, please see #326 (comment) |
Still an issue in 13.7.9 |
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. |
The MacOS external keyboard copy/paste issue will be fixed in the next release |
On mac cmd + c and cmd + v keyboard shortcuts aren't working for copy/paste. The menu does work.
The text was updated successfully, but these errors were encountered: