You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The 'quick copy to clipboard' feature is not functioning properly, whether accessed through the menu or the keyboard shortcut. The console displays the error: 'Uncaught TypeError: window.ClipboardItem is not a constructor'.
To reproduce
Within the project, select a section of the automata you wish to copy
Navigate to File > Export > Quick Copy to Clipboard or use the shortcut Cmd+Shift+C
Check your clipboard
Expected behavior
After a user selects a portion of the project and copies it using either the keyboard shortcut or menu option, a PNG of the highlighted section should be available in their clipboard.
Additional information
No response
The text was updated successfully, but these errors were encountered:
I think this is a Firefox specific issue. I remember this coming up as a problem with my URL copying but it decided to magically work for text and it slipped my mind. The function should work if you use Chrome and I don't think there is a work around atm (maybe sometime).
Given that you mentioned "cmd" + shift + C was this happening on Safari as well?
Ah okay thanks, I was using Firefox originally so that makes sense. Just tested with Safari and received the following error: Unhandled Promise Rejection: NotAllowedError. Seems like it's a fairly well documented issue relating to indirect user interaction with the clipboard. I'll try to find a solution for the Safari error tonight.
For what its worth, I tried this on my Windows machine in the latest Firefox (125.0.3) and it doesn't touch the clipboard at all. Edge (124.0.2478.67) at least clears the clipboard but doesn't "copy" any meaningful text to the clipboard. Worth mentioning that this version of Edge should be a Chrome fork, so does that imply the current implementation is purely Chrome-only?
Iirc last time I looked at it yes. The clipboard API used wasn't a standard (basically just a thing chrome was pushing) when I first looked at it so there was a bunch of funky stuff going on. Hopefully the situation has improved
Description of the bug
The 'quick copy to clipboard' feature is not functioning properly, whether accessed through the menu or the keyboard shortcut. The console displays the error: 'Uncaught TypeError: window.ClipboardItem is not a constructor'.
To reproduce
Expected behavior
After a user selects a portion of the project and copies it using either the keyboard shortcut or menu option, a PNG of the highlighted section should be available in their clipboard.
Additional information
No response
The text was updated successfully, but these errors were encountered: