Tk Source Code

View Ticket
Login
Ticket UUID: 219843
Title: porting problem between 7.6 and 8.0 in Tk_CoordsToWindow
Type: Bug Version: obsolete: 8.0p2
Submitter: nobody Created on: 2000-10-31 07:06:38
Subsystem: 67. Unix Window Operations Assigned To: nobody
Priority: 1 Zero Severity:
Status: Closed Last Modified: 2001-03-24 03:44:15
Resolution: Invalid Closed By: dgp
    Closed on: 2001-03-23 20:44:15
Description:
OriginalBugID: 568 Bug
Version: 8.0p2
SubmitDate: '1998-04-15'
LastModified: '1999-08-14'
Severity: SER
Status: Closed
Submitter: hershey
ChangedBy: hobbs
RelatedBugIDs: 716
OS: All
OSVersion: NA
Machine: NA
FixedDate: '2000-10-30'
FixedInVersion: NA
ClosedDate: '1999-08-14'


>I moved from tk7.6 to tk8.0p2 within my graphical application.
>My application consist of an opengl widget within Tk.
>
>When interacting with my widget, I sometimes get the message :
>
>"Tk_CoordsToWindow got False return from XTranslateCoordinates"
>
>which makes my application abort.
>I never got this message with tk7.6.
>
>Looking into the sources (in tk8.0/unix/tkUnixWm.c) I found that the
>implementation
>of Tk_CoordsToWindow has changed from tk7.6 near the call to
>XTranslateCoordinates.
>A call to the "panic" function is made when something is wrong, which
>makes my program abort. 
>I have intentionally removed the "panic" line to observe that my program
>again works
>correctly. It seems like the implementation of Tk_CoordsToWindow is more
>robust in
>tk7.6.
>-- 
>Michel Pottiez
>NUMECA International s.a.
>Avenue F. Roosevelt, 5
>B-1050 Brussels  -  BELGIUM
>Tel    : 32 2 647 83 11
>Fax    : 32 2 647 93 98
>e-mail : [email protected]