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.

Title: Tkinter Unresponsive With Special Keys
Type: behavior Stage: resolved
Components: Extension Modules, macOS Versions: Python 3.4
Status: closed Resolution: third party
Dependencies: Superseder:
Assigned To: Nosy List: Harrison Chudleigh, ned.deily, ronaldoussoren
Priority: normal Keywords:

Created on 2016-06-03 02:47 by Harrison Chudleigh, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (2)
msg267027 - (view) Author: Harrison Chudleigh (Harrison Chudleigh) Date: 2016-06-03 02:47
When working on my program (the same one where I found Issue 27192), I tried adding keyboard shortcuts. I discovered that Tkinter doe not register the keys Alt, Command, Control, Fn, Shift and Caps Lock on a Mac.
msg267046 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2016-06-03 05:42
Tkinter is essentially just a think wrapper around the Tk graphical toolkit. Keyboard modifier mappings are handled by Tk (or OS X), and not Tkinter.  Unfortunately, for various reasons, how Tk handles keyboard modifiers varies somewhat among OS platforms (Windows-native, X11-based, and OS X-native) and even between versions of Tk on the same platform.  One source for more detailed information about modifier key differences is the following Tk wiki page:
Date User Action Args
2022-04-11 14:58:31adminsetgithub: 71380
2016-06-03 05:42:25ned.deilysetstatus: open -> closed
resolution: third party
messages: + msg267046

stage: needs patch -> resolved
2016-06-03 05:34:05ned.deilyunlinkissue27192 superseder
2016-06-03 02:55:05abarrysettype: behavior
components: + Extension Modules
stage: needs patch
2016-06-03 02:52:53abarrylinkissue27192 superseder
2016-06-03 02:47:02Harrison Chudleighcreate