From: Israel C. F. <isr...@fa...> - 2010-11-24 02:26:46
|
On Nov 20, 2010, at 11:43 AM, Israel Chauca F. wrote: > > On Nov 20, 2010, at 11:08 AM, Alexander Wagner wrote: > >> On 11/19/10 22:10, Israel Chauca F. wrote: >> >> Hi! >> >>>>> I'm trying to use the new Cocoa based build of Tk, but Scid exits after this message: >>>>> num matched toplevel windows does not equal num children >>>>> It happens in updateBoard around line 1513 of end.tcl, any pointers about how to proceed debugging it? I'm not sure what the message means. >>>> >>>> Could this be a docking issue? Ie. did you try classical mode? >>> >>> Right on the spot! I changed the docking setting with an older version and then I could use the new Cocoa based build of Scid. >>> >>> The problem with the wrong path is gone. The garble pieces are gone, but the colorless board on the Setup Board window under Aqua theme is still there. >> >> This sounds promising. >> Funny effect: why does refreshing the tree scramble the display in Cocoa? Any idea here? > > After more testing, this part of the first line of ::tree::refresh seems to be problematic: > > wm stackorder . > > If I place just that line at the beginning I get the same message: > > num matched toplevel windows does not equal num children This seems to be the part responsible for that message: https://github.com/das/tcltk/blob/de-carbon-8-5/tk/macosx/tkMacOSXWm.c#L5890 but my C-fu is not up to the challenge, so I don't understand what exactly is going on and, more important, how that if test gets to be true and send that message. I'd really appreciate if somebody could give me some guidance on this. This wouldn't be a problem if the Carbon builds of Tk were being updated, but they're being replaced for this new Cocoa based builds and no bug fixes go into them. Thanks! Israel |