[issue35104] IDLE: On macOS, Command-M minimizes & opens "Open Module..."

2019-09-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am closing this as a duplicate of #21359 as I believe there is at least one more non-working shortcut and because I believe the solution is to test all and patch the default mac keyset all at once. -- resolution: -> duplicate stage: needs patch ->

[issue35104] IDLE: On macOS, Command-M minimizes & opens "Open Module..."

2018-11-11 Thread Ned Deily
Ned Deily added the comment: That's a good point. I see that Cmd-Shift-S which is defined as the shortcut for "Save As.." seems to have the same effect as Cmd-S "Save". Also, the Cmd-Opt-S shortcut for "Save Copy As.." seems to bring up the save dialog window twice, the second after the fir

[issue35104] IDLE: On macOS, Command-M minimizes & opens "Open Module..."

2018-11-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: #21359, reported by Ned in 4/2018, is about "Cmd-Shift-Z, has the same effect as the Undo accelerator, Cmd-Z" So there may be a general problem with Cmd-Shift == Cmd. -- ___ Python tracker

[issue35104] IDLE: On macOS, Command-M minimizes & opens "Open Module..."

2018-11-02 Thread Tal Einat
Tal Einat added the comment: Terry, does Shift-Command-s trigger "Save" or "Save As" for you? If "Save As", then surely this is something that can be worked out? -- ___ Python tracker __

[issue35104] IDLE: On macOS, Command-M minimizes & opens "Open Module..."

2018-11-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: I like the idea, but for me, Shift-Command-o does the same as Command-o -- open file, and setting open-module to shift-command-key-o does not override this. -- ___ Python tracker

[issue35104] IDLE: On macOS, Command-M minimizes & opens "Open Module..."

2018-11-02 Thread Tal Einat
Tal Einat added the comment: Indeed Command-M has been in use for a while. +1 for Shift-Command-o. I don't see it used in the default key config (Lib/idlelib/config-keys.def). We already use Shift-Command-s for "Save As...", so this would be a consistent use of a Shift-Command modifier. --

[issue35104] IDLE: On macOS, Command-M minimizes & opens "Open Module..."

2018-11-02 Thread Ned Deily
Ned Deily added the comment: > is the system use of CMD-M newer than IDLE's (15 years?)? macOS has been using CMD-M for minimize for quite a while. It's listed in the current Apple "Human Interface Guidelines" which is the reference document that Apple itself and third-parties are strongly

[issue35104] IDLE: On macOS, Command-M minimizes & opens "Open Module..."

2018-11-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: I routinely use Alt-M to open modules on Windows, so I would want a shortcut on Mac also. I just made a 'Mac-module' custom keyset with Control-Key-M for open-module, and it works. It that acceptable? We do not usually change default keysets, but this amou

[issue35104] IDLE: On macOS, Command-M minimizes & opens "Open Module..."

2018-11-02 Thread Tal Einat
Tal Einat added the comment: I agree with Ned's analysis. The shortcut for macOS should be changed, or simply removed if there's no good candidate for a shortcut. Terry, what do you suggest? -- ___ Python tracker

[issue35104] IDLE: On macOS, Command-M minimizes & opens "Open Module..."

2018-10-29 Thread Ned Deily
Ned Deily added the comment: AFAICT, the problem here is that there is a duplicate command accelerator assignment: IDLE assigns CMD-M to its Open Module command (https://github.com/python/cpython/blob/master/Lib/idlelib/config-keys.def#L205) but either Tk or the underlying macOS services it

[issue35104] IDLE: On macOS, Command-M minimizes & opens "Open Module..."

2018-10-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: What I see in the .gif is that Open Module is open on top of Shell (not minimized, traffic lights gray) and that clicking Cancel closes Open Module and temporarily minimizes Shell, before it pops back up with traffic lights. It is hard to imagine that how o

[issue35104] IDLE: On macOS, Command-M minimizes & opens "Open Module..."

2018-10-29 Thread Tal Einat
New submission from Tal Einat : On macOS, Command-M simultaneously minimizes the window and opens the "Open Module..." dialog. This happens with a very confusing sequence of visual effects (see attached animated gif). This doesn't happen when activating either of the menu items; only when usi