This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 242440 - Terminal -- Keyboard binding for Cut/Copy/Paste are platform independent
Summary: Terminal -- Keyboard binding for Cut/Copy/Paste are platform independent
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Terminalemulator (show other bugs)
Version: 8.0
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Assignee: ilia
URL:
Keywords:
: 213421 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-02-28 09:26 UTC by rherschke
Modified: 2015-02-24 08:37 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rherschke 2014-02-28 09:26:39 UTC
Product Version = NetBeans IDE 8.0 Beta (Build 201401141042)
Operating System = Mac OS X version 10.9.1 running on x86_64
Java; VM; Vendor = 1.7.0_45
Runtime = Java HotSpot(TM) 64-Bit Server VM 24.45-b08

Currently the keyboard short-cuts for the terminal are fixed and specified as:

Copy: CTRL-SHIFT-C
Paste: CTRL-SHIFT-V

They are neither bound to the keyboard-shortcuts specified in the platform nor to the shortcuts defined in netbeans. In addition to this, they can't be specified in the keyboard-mapping-settings in netbeans.
Comment 1 ilia 2014-11-19 11:06:00 UTC
This problem needs deeper investigation.

My point of view: Linux/Windows/Solaris users doesn't need this feature, Ctrl+Shift+C/V is the most used shortcut for copy-pasting. Allowing to change this key-binding may lead to conflict with shell`s Control Codes etc.

However, I can understand Mac users, they may need to replace Ctrl with Cmd key.
I don't believe this is a bug, changing status to enhancement.
Comment 2 rherschke 2014-11-19 11:37:54 UTC
Don't think, that Ctrl-Shift-C is the correct shortcut in windows or linux env. 

Nevertheless: This shortcut is specific to the terminal plugin. While the overall keybinding for copy and paste is handled in the netbeans keybindings, this plugin does not recognize it. It's just hardcoded and so it's a bug for me.

Lookup the keybinding in the netbeans settings is somehow trivial - so I do not understand, why this plugin uses extra specific keybinding for this common task?
Comment 3 Vladimir Voskresensky 2014-11-19 12:14:51 UTC
(In reply to rherschke from comment #2)
> Don't think, that Ctrl-Shift-C is the correct shortcut in windows or linux
> env. 
> 
> Nevertheless: This shortcut is specific to the terminal plugin. While the
> overall keybinding for copy and paste is handled in the netbeans
> keybindings, this plugin does not recognize it. It's just hardcoded and so
> it's a bug for me.
> 
> Lookup the keybinding in the netbeans settings is somehow trivial - so I do
> not understand, why this plugin uses extra specific keybinding for this
> common task?
as was explained Ctrl+Shift+C is the standard in Unix terminals. 
But the important point is - even if it is configurable don't try to set it to editor's Ctrl+C.
Ctrl+C in any shell is "send signal to kill the process"
Comment 4 ilia 2015-01-21 15:10:40 UTC
Closing this bug.
We are able to assign shortcuts from keymap menu to terminal`s actions after fixing
https://netbeans.org/bugzilla/show_bug.cgi?id=249926
but there is no "pros" in doing this.
Comment 5 ilia 2015-01-26 13:30:17 UTC
It was decided to let user change terminal shortcuts (Including copy and paste).

Fixed while fixing bug #249926.
Comment 6 ilia 2015-02-24 08:37:36 UTC
*** Bug 213421 has been marked as a duplicate of this bug. ***