From: Ned D. <na...@ac...> - 2013-10-28 08:37:41
|
In article <526...@co...>, Kevin Walzer <kw...@co...> wrote: > On 10/23/13, 4:06 PM, Ned Deily wrote: > > Now that OS 10.9 Mavericks has been released (and at no cost), people are > > updating to it and running into a problem with Aqua Tk. I ran into the > > problem with Python's IDLE but it seems to affect other multi-window Tk > > applications, as it can be reproduced using wish demos. Basically, the > > problem is that Tk windows don't get automatically redrawn when the mouse > > is > > used to change the active window and focus. I've described the details > > here: > > > > https://core.tcl.tk/tk/tktview?name=53f7a1b553 > > > > As it affects current versions of ActiveTcl 8.5 and 8.6, I also opened an > > ActiveTcl issue: > > > > http://bugs.activestate.com/show_bug.cgi?id=101210 > > > > As noted in the Tk issue above, the Apple-supplied Tk 8.5.9 does not have > > this > > problem but that version has other, serious problems that have been fixed > > in > > newer versions of Tk 8.5, for example, immediately crashing when typing a > > composing character in a text field (like option-u for US Extended input > > methods). Also as noted, one workaround appears to be to force Tcl/Tk to > > run > > in 32-bit mode, which may not be possible for some applications if they > > depend > > on non-universal libraries. > > Daniel Steffen provided me a patch for the issue that he devised during > the development of Mavericks, and which he applied to Apple's private > branch of Tk-Cocoa (essentially the old 8.5.9 branch, as you noted in > the bug report). Daniel's patch is why the behavior isn't visible in > Apple's system-provided Tk, because it was fixed already. :-) Now that > Mavericks is out he was able to provide the patch for upstream use. > > After installing Mavericks and testing with my existing build of Tk, I > did see the behavior. After doing a fresh checkout of trunk and 8.5, > applying the patch, and rebuilding Tcl/Tk, I don't see any of the > behavior indicated. As a result I believe this patch solves the problem > and I have committed it. Thanks for tracking down the problem, Kevin! The applied patch does indeed solve the problems seen with Python's IDLE on 10.9. As described in Issue19373, the Python project has just issued maintenance release candidates, 3.3.3rc1 and 2.7.6rc1, for the current Python 3 and 2 releases. The python.org OS X 64-bit binary installers for these releases now include a built-in version of Tcl/Tk 8.5 so that users no longer have to install third-part Tcl/Tk releases to avoid the critical problems in the system Tcl/Tk 8.5 shipped by Apple in recent OS X releases. The fix arrived after the "rc1" installers were created but "rc1_rev1" installers that include this fix should be available on the 3.3.3 and 2.7.6 download pages soon. http://www.python.org/download/releases/3.3.3/ http://www.python.org/download/releases/2.7.6/ http://bugs.python.org/issue19373 -- Ned Deily, na...@ac... |