From: SourceForge.net <no...@so...> - 2004-02-20 19:37:10
|
Bugs item #901091, was opened at 2004-02-20 08:07 Message generated for change (Comment added) made by dgp You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=901091&group_id=10894 Category: None Group: None >Status: Closed >Resolution: Invalid Priority: 5 Submitted By: Nobody/Anonymous (nobody) >Assigned to: Don Porter (dgp) Summary: tk_getSaveFile run with fileevent through a process hangs wi Initial Comment: not registered... be...@wa... From Comp.lang.tcl: OK, I am running ActiveTCL 8.4.4.0 on Windows XP Professional. The following two scripts recreate the problem on my machine. runme.tcl: set r [open "|wish ui.tcl" r+] after 500 puts $r "save" flush $r ui.tcl: proc msg {} { gets stdin r if {[eof stdin]} {exit} eval $r } proc save {} { tk_getSaveFile update } fileevent stdin readable msg I have attached them as well. Ben "Bruce Hartweg" <bru...@ha...> wrote in message news:owaZb.360188$na.537596@attbi_s04... > can you post a short case that demonstrates the problem? > If it is truly an issue with tk_getSaveFile it wil help > the maintainers find & fix the bug. but it will also allow > people to help detect if the problem is on your end. > (if I was a bettin' man, I'd lay odds on the latter ;) > > Also what platfom/OS and what version of Tcl/Tk ? > > > bruce > > > > Ben John Warre wrote: > > > I think this is a real problem, but have localised it somewhat. The > > script works fine if I run it normally, but when I run it as a process > > (from another tcl script), the dialog hangs (and doesn't get destroyed), > > when you press Save. > > ---------------------------------------------------------------------- >Comment By: Don Porter (dgp) Date: 2004-02-20 13:22 Message: Logged In: YES user_id=80530 This looks like an issue with Tk, not Tcl. Please file the report with the tktoolkit project's tracker. ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2004-02-20 11:07 Message: Logged In: NO FYI - this also hangs the second GUI on Win2K, but in this case it hangs before even displaying the save dialog. Also - I added some color changes to each section to see whare the hang was occurring & if I added calls to update in the msg proc it actuallly crashed the executable. without the updates, the last color diplayed was the one set immediately before the tk_getSaveFile. Bruce Hartweg ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=901091&group_id=10894 |