In article <[EMAIL PROTECTED]>,
 [EMAIL PROTECTED] wrote:

> I am not certain where the problem is or who to report it to, but  
> there is a bug in TkAqua, Tkinter, or possibly OS X's windowing  
> system. I am using a simple module on top of Tkinter for teaching an  
> intro programming course. When I click the mouse in the Tkinter  
> window, it often reports the wrong coordinates for the click most of  
> the time. If I use idle and first click on the Tk Console window and  
> then in the graphical window it seems to work. If I don't click in the  
> Tk Console window or start Python from the Terminal, it almost always  
> reports wrong values.
> 
> I am running Leopard now and tried both the built-in Python 2.5 and  
> installing the version from python.org. Some of my students who are  
> using Tiger report the same issue - I don't recall problems last year  
> when using this on Tiger, but it's possible. On Windows, the  
> coordinates are always correct.

I have had a version of this bug in *almost* every version of Aqua 
Tcl/Tk. It plays hell with my application. Fortunately there it seems to 
be solved in Tcl/Tk 8.4.16 (I suggest the ActiveState installer, but 
there is a bare binary and installing from source also works). If you 
want to use an older version for some reason, the *only* one I know of 
that works is 8.4.11. Everything I've tried in between has exhibited the 
problem of sometimes reporting bad mouse coordinates..

-- Russell

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to