classification
Title: IDLE: Add keyboard equivalents for mouse actions.
Type: behavior Stage: test needed
Components: IDLE Versions: Python 3.6
process
Status: open Resolution:
Dependencies: 27621 Superseder:
Assigned To: terry.reedy Nosy List: python-dev, serhiy.storchaka, terry.reedy
Priority: normal Keywords:

Created on 2016-07-26 00:54 by terry.reedy, last changed 2017-06-21 17:48 by terry.reedy.

Messages (7)
msg271311 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2016-07-26 00:54
Reading https://en.wikipedia.org/wiki/IBM_Common_User_Access and in particular "All operations could be done with either the mouse or the keyboard;", I checked IDLE's dialogs.

The Windows dialogs accessed as common dialogs work correctly.  I will assume true for other OSes until told otherwise.

The new Query widget recogizes <Return> for [Ok] but not <Escape> for [Cancel].  My omission, easily corrected.

Search boxes cannot set options with keys.  Notepad++ can.

The Options dialog has no key equivalents.
msg271312 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2016-07-26 00:58
New changeset 352fc11b9fd2 by Terry Jan Reedy in branch 'default':
Issue #27620: Escape key closes Query box as cancelled.
https://hg.python.org/cpython/rev/352fc11b9fd2
msg271331 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2016-07-26 06:35
#27621 is about <Return> invoking [Ok] even when the focus is on [Cancel].
msg271345 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2016-07-26 07:26
I agree that Esc should always cancel regardless of where the focus is.
msg271480 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2016-07-28 01:43
New changeset 2468581846da by Terry Jan Reedy in branch 'default':
Issue #27620: Mark the default action button as the default.
https://hg.python.org/cpython/rev/2468581846da
msg271483 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2016-07-28 02:17
New changeset e4a2d78aa6cc by Terry Jan Reedy in branch 'default':
Issue #27620: Make htest box respond to <Return> and <Escape>.
https://hg.python.org/cpython/rev/e4a2d78aa6cc
msg296570 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2017-06-21 17:48
ConfigDialgo.__init__ has commented out key bindings for the buttons, including Esc for [Cancel].  We should establish 'IDLE Dialog Conventions', document (add to README.txt?), and follow consistently.
 
#27621 is about polishing Query box behavior.  It should be generalized to other boxes.
History
Date User Action Args
2017-06-21 17:48:57terry.reedysetmessages: + msg296570
2016-07-28 02:17:30python-devsetmessages: + msg271483
2016-07-28 01:43:18python-devsetmessages: + msg271480
2016-07-26 07:26:57serhiy.storchakasetnosy: + serhiy.storchaka
messages: + msg271345
2016-07-26 06:35:48terry.reedysetdependencies: + Finish IDLE Query dialog appearance and behavior.
messages: + msg271331
2016-07-26 00:58:58python-devsetnosy: + python-dev
messages: + msg271312
2016-07-26 00:54:51terry.reedycreate