-
-
Notifications
You must be signed in to change notification settings - Fork 292
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
use native clipboard on macos #2031
Conversation
FYI this does not close #958. That issue is with the copy to clipboard node, not frontend copy/paste. That issue will be resolved when we switch from pasteboard to a custom rust binding |
Ah, I see. Removed the issue from the message. So I better re-add pasteboard for the moment? |
yes, you should not remove pasteboard in this. |
Okay, reverted the changes. Pasteboard is back in. |
On macOS we need the native Edit menu to make all keyboard shortcuts accessable. The shortcuts can copy/cut/paste text and nodes. But using entries from the menu itself only interacts with text. Therefore on macOS a new menu is added: "Nodes" Menu structure: *Nodes | |- Undo |- Redo |-------- |- Cut |- Copy |- Paste |-------- |- Duplicate |- Duplicate with Connections This menus sole purpose is to give the user a menu to interact with Nodes. closes chaiNNer-org#1590
The View Menu is now located between Edit and Nodes to align it more with the default menu structure on macOS. Also the Window Menu used on Macs has been added.
I never used macOS, so I had no idea such a thing even exists. Thank you for fixing this! |
I can't test this, but the code looks good! |
On macOS we need the native Edit menu to make all keyboard shortcuts accessable.
The shortcuts can copy/cut/paste text and nodes. But using entries from the menu itself only interacts with text.
Therefore on macOS a new menu is added: "Nodes"
Menu structure:
This menus sole purpose is to give the user a menu to interact with Nodes.
closes #1590