From: SourceForge.net <no...@so...> - 2006-05-12 23:30:55
|
Bugs item #1487701, was opened at 2006-05-12 16:30 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112997&aid=1487701&group_id=12997 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: 74. Application Embedding Group: current: 8.4.13 Status: Open Resolution: None Priority: 5 Submitted By: Greg Couch (gregcouch) Assigned to: Daniel A. Steffen (das) Summary: embedding on OS X Aqua is problematic Initial Comment: macosx/tkMacOSXInit.c's TkpInit function is not friendly to applications that embed Tcl/Tk. One bug is that it only works for the first Tcl interpreter that an application creates -- this is not a problem for the X11 and Windows versions of Tk. The symptom is that one's ported application crashes mysteriously because Apple events refer to a Tcl interpreter that no longer exists. The next bug appears once the application is rewritten to use only one Tcl interpreter (in my case, reuse the Tcl interpreter from the splash screen for the main part of the application). Then an extremely helpful console window appears (because the application was started by double clicking and Tk thinks it was started up via Wish.app) that is unwanted and unneeded. (The console appeared before, but quickly disappeared when the first Tcl interpreter was destroyed.) There is no reasonable way to disable this behavoir without modifying the Tk source code (I want to leave stdin alone, thank you very much). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112997&aid=1487701&group_id=12997 |