classification
Title: All standard keystrokes not recognized in IDLE dialogs on Mac
Type: Stage:
Components: IDLE Versions: Python 3.6, Python 3.5, Python 2.7
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: kbk, markroseman, roger.serwy, terry.reedy
Priority: normal Keywords:

Created on 2015-08-07 04:15 by markroseman, last changed 2017-06-30 00:46 by terry.reedy.

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.
History
Date User Action Args
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