spreadsheet icon indicating copy to clipboard operation
spreadsheet copied to clipboard

Spreadsheet Shortcut for "Copy" breaks Clipboard

Open swallace21 opened this issue 7 years ago • 0 comments

spreadsheet.addShortcutListener(
    	new ShortcutListener("Copy Shortcut META", KeyCode.C, new int[] {ShortcutAction.ModifierKey.META}) {
    		@Override
		public void handleAction(Object sender, Object target) {
			// TODO copy action
		}
        });

This intercepts Copy key commands on a Mac just fine. BUT it breaks the clipboard. To be specific values that are copied are using C+META are no longer copied to the clipboard. Same thing happens with paste.

swallace21 avatar Dec 12 '17 18:12 swallace21