Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 4dad4ccb286f00711a6cb9d64a181095d9060f66
Ticket: 219135ffffffffffffffffffffffffffffffffff
Tcl library function Tcl_DoOneEvent fails if called w/o TCL_
User & Date: nobody on 2000-10-26 05:02:11
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    OriginalBugID: 556 Bug
    Version: 8.1a2
    SubmitDate: '1998-03-31'
    LastModified: '1999-10-21'
    Severity: MED
    Status: Assigned
    Submitter: hershey
    ChangedBy: hobbs
    OS: All Unix
    OSVersion: NA
    Machine: NA
    FixedDate: '2000-10-25'
    FixedInVersion: NA
    ClosedDate: '2000-10-25'
    
    
    Merijn de Jonge <[email protected]> writes:
    
    
    > Hi,
    > 
    > When Tcl_DoOneEvent is called without the TCL_FILE_EVENTS
    > flag specified, no x events are processed. I think the
    > problem is located in the function TkpOpenDisplay in
    > unix/tkUnixEvent.c where a file handler is created
    > for ConnectionNumber(display). Data arrived from this file
    > handler (i.e., message from the X server) is discarded in
    > the code fragment below:
    > 
    >    while (1)
    >    {
    >       Tcl_DoOneEvent(
    >          TCL_WINDOW_EVENTS |
    >          TCL_IDLE_EVENTS   |
    >          TCL_TIMER_EVENTS  |
    >          TCL_DONT_WAIT );
    >    }
    > 
    > Since I specified the TCL_WINDOW_EVENTS flag I certainly
    > don't want this data to be discarded.
    > 
    > Any ideas about how to discard data from file handlers
    > installed by myself but without discarding x events would
    > be appreciated.
    > 
    > 
    > Best regards,
    > Merijn de Jonge
    > 
    > -- 
    > Merijn de Jonge           email: [email protected]
    >                           www:   http://adam.wins.uva.nl/~mdejonge/
    
    
    We dont really support these flags any more.  Update the
    documentation or update the implementation.
    03/23/1999 17:48 - surles -
    This is definitely a doc fix issue. 
    -- 10/21/1999 hobbs
    
  5. foundin changed to: "obsolete: 8.1a2"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Deleted"
  9. submitter changed to: "nobody"
  10. subsystem changed to: "46. Traces"
  11. title changed to:
    Tcl library function Tcl_DoOneEvent fails if called w/o TCL_
    
  12. type changed to: "Bug"