From: Kevin W. <kw...@co...> - 2011-07-18 04:18:20
|
On 7/11/11 11:08 PM, Hans-Christoph Steiner wrote: >> I also believe this is a Cocoa Aqua Tcl/Tk vs Carbon problem and is >> > the >> > root cause behind this problem seen in Python's IDLE on OS X: >> > >> > http://bugs.python.org/issue11055 > > Yeah, sounds the same. Pd-extended also uses that binding for Save > As, and it also gets triggered twice. > > .hc I've committed a fix for this issue on both 8.6 trunk and the Tk-Cocoa 8.5 backport branch, both in Fossil. You'll need to do a fresh checkout and build from Fossil to test. It will not be corrected in Snow Leopard's build of Tk-Cocoa, though it should make it into a future version of ActiveTcl. The fix was a one-liner change in tkMacOSXMenu.c, calling for the lower-case string of the accelerator key, which I figured out based on advice here: http://stackoverflow.com/questions/404830/cocoa-wont-capture-shift-modifier Stack Overflow is a very useful resource. --Kevin -- Kevin Walzer Code by Kevin http://www.codebykevin.com |