[issue11055] OS X IDLE 3.2 Save As menu accelerator opens two Save windows

Ronald Oussoren report at bugs.python.org
Tue Mar 15 17:42:13 CET 2011


Ronald Oussoren <ronaldoussoren at mac.com> added the comment:

To reproduce install ActiveState Tcl 8.5.9 and then build python using:

../configure --enable-framework --enable-universalsdk=/ --with-universal-archs=intel MACOSX_DEPLOYMENT_TARGET=10.6

Both 3.2 and 3.3 fail can be used. Install the framework and then open an existing file, use SHIFT+CMD+S to save the file and you'll see two dialogs (both labelled 'Save').

Some investigation learns that the save_as method in IOBindings  gets called twice. 

The attached patch (for 3.2) is a crude hack, but does result in a working copy of IDLE that doesn't show two save dialogs.

I'm inclined to commit the patch, it is a hack but there are already other workarounds for Tk-on-OSX weirdness.

Comments?

----------
keywords: +needs review, patch
nosy: +kbk, ronaldoussoren
Added file: http://bugs.python.org/file21218/issue11055.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11055>
_______________________________________


More information about the Python-bugs-list mailing list