[New-bugs-announce] [issue44398] IDLE: On macOS, cntl-space/backslash display as ^S/^B

Terry J. Reedy report at bugs.python.org
Fri Jun 11 15:36:14 EDT 2021


New submission from Terry J. Reedy <tjreedy at udel.edu>:

(Related to the more general macOS hotkey issue 18444.)
'Edit => Show completions' invokes pseudoevent <<force-open-completions>>.  In all built-in keysets, the latter is bound to Control-space.  This includes on macOS, as can be seen on the Settings Keys tab.

On Windows, and I presume *nix, this is displayed on the menu as 'Cntl+space'.  On macOS, the menu hotkeys are displayed differently than on other systems (how?).  'Cntl+' is condensed to '^', which is fine and which would be okay elsewhere.  However, 'space' is condensed to 'S', which is a bug.  Can this be fixed?  If not, we could add ^S as an alternate hotkey on macOS.

'^S' causes 'Edit' to flash, indicating, I believe, that it is recognized as an Edit menu hotkey.  But nothing happens as IDLE/tk does not recognize it on macOS.  (On Windows, it means 'save'.)

^space, currently works to show completions with 3.10.0b2.  The same will be true after the PR for #40128 is merged and backported.

The situation is the same for Edit => Show calltip, <<force-open-calltip>>, and control-backslash, except that 'backslash' is visible as '\'.  If the hotkey were displayed on Windows as 'Cntl+\', perhaps the result on macOS would be the correct '^\'.

----------
assignee: terry.reedy
components: IDLE, macOS
messages: 395656
nosy: ned.deily, ronaldoussoren, taleinat, terry.reedy
priority: normal
severity: normal
stage: needs patch
status: open
title: IDLE: On macOS, cntl-space/backslash display as ^S/^B
type: behavior
versions: Python 3.11

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44398>
_______________________________________


More information about the New-bugs-announce mailing list