This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Ctrl+C for copy does not work when caps-lock is on
Type: Stage:
Components: IDLE Versions: Python 2.4
process
Status: closed Resolution: wont fix
Dependencies: Superseder:
Assigned To: kbk Nosy List: kbk, ldrhcp, noamr
Priority: normal Keywords:

Created on 2005-11-14 17:20 by ldrhcp, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (3)
msg26875 - (view) Author: Lenny Domnitser (ldrhcp) Date: 2005-11-14 17:20
I only tested this on Windows/Python 2.4/Idle 1.1.2.
Other shortcuts (Ctrl+V, Ctrl+X, etc.) work just fine,
but Ctrl+C requires a lower case letter.
msg26876 - (view) Author: Noam Raphael (noamr) * Date: 2005-11-14 20:28
Logged In: YES 
user_id=679426

I didn't reproduce it, but it must be because the key
binding for interrupt-execution is set to "<Control-Key-c>
<Control-Key-C>" only in the "IDLE Classic - Windows"
keybinding set, and not in the Mac and Unix variants, where
it's only "<Control-Key-c>".

I don't find the place to attach a file (new sourceforge
style), so here it is:

Index: config-keys.def
===================================================================
--- config-keys.def     (revision 41443)
+++ config-keys.def     (working copy)
@@ -70,7 +70,7 @@
 end-of-file=<Control-Key-d>
 history-next=<Alt-Key-n> <Meta-Key-n>
 history-previous=<Alt-Key-p> <Meta-Key-p>
-interrupt-execution=<Control-Key-c>
+interrupt-execution=<Control-Key-c> <Control-Key-C>
 view-restart=<Key-F6>
 restart-shell=<Control-Key-F6>
 open-class-browser=<Control-Key-x><Control-Key-b>
@@ -123,7 +123,7 @@
 python-context-help=<Shift-Key-F1>
 history-next=<Control-Key-n>
 history-previous=<Control-Key-p>
-interrupt-execution=<Control-Key-c>
+interrupt-execution=<Control-Key-c> <Control-Key-C>
 view-restart=<Key-F6>
 restart-shell=<Control-Key-F6>
 open-class-browser=<Command-Key-b>

Noam
msg56893 - (view) Author: Kurt B. Kaiser (kbk) * (Python committer) Date: 2007-10-28 19:30
On systems other than Windows, people generally prefer to 
leave as much 
flexibility as possible by not binding various combinations 
of modifiers to 
the callback associated with a <Key>.  If you need this 
change, add a 
binding as noamr suggests.
History
Date User Action Args
2022-04-11 14:56:14adminsetgithub: 42594
2007-10-28 19:30:58kbksetstatus: open -> closed
resolution: wont fix
messages: + msg56893
2005-11-14 17:20:18ldrhcpcreate