From: Kevin W. <kw...@co...> - 2013-10-27 20:46:54
|
Hi Ned, 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 again for the report, and thanks to Daniel for the patch. Best, Kevin -- Kevin Walzer Code by Kevin/Mobile Code by Kevin http://www.codebykevin.com http://www.wtmobilesoftware.com |