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: All standard keystrokes not recognized in IDLE dialogs on Mac
Type: Stage:
Components: IDLE Versions: Python 3.9
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: markroseman, terry.reedy
Priority: normal Keywords:

Created on 2015-08-07 04:15 by markroseman, last changed 2022-04-11 14:58 by admin.

Messages (4)
msg248166 - (view) Author: Mark Roseman (markroseman) * Date: 2015-08-07 04:15
Most of the dialogs in IDLE on OS X do respond to 'Return' key as equivalent to hitting OK, and Escape to hitting Cancel.

Guidelines also suggest that the Enter key (on numeric keypad) should work like 'Return', and Cmd-. (period) should work like Cancel. Doesn't happen now in any of the places I looked.
msg248228 - (view) Author: Mark Roseman (markroseman) * Date: 2015-08-07 21:34
note that many of these are using 'simpledialog' which has that limitation
msg248238 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2015-08-08 00:03
Then either simpledialog should changed, or Idle should subclass or rewrite it to work as it should.
msg297336 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2017-06-30 00:46
query.Query has and will mostly replace tkinter.simpledialog #27115.
This is partially a duplicate with respect to Query #27621.
Date User Action Args
2022-04-11 14:58:19adminsetgithub: 69000
2019-09-19 18:44:47terry.reedysetnosy: - kbk, roger.serwy

versions: + Python 3.9, - Python 2.7, Python 3.5, Python 3.6
2017-06-30 00:46:26terry.reedysetmessages: + msg297336
2015-08-08 00:03:36terry.reedysetmessages: + msg248238
2015-08-07 21:34:12markrosemansetmessages: + msg248228
2015-08-07 04:15:38markrosemancreate