Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 441ec4ce22741a293c23581c4922e9db40d799e5
Ticket: 901091ffffffffffffffffffffffffffffffffff
tk_getSaveFile run with fileevent through a process hangs wi
User & Date: nobody on 2004-02-20 13:07:49
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    not registered... [email protected]
    
    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" <[email protected]> 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.
    > >
    
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "None"
  10. title changed to:
    tk_getSaveFile run with fileevent through a process hangs wi
    
  11. type changed to: "Bug"