Tk Source Code

View Ticket
Login
2010-03-12
21:21 Ticket [2969401fff] Coordinates reported wrongly on ppc status still Open with 2 other changes artifact: 217fb83fdc user: dkf
13:55 New ticket [2969401fff]. artifact: 234b724657 user: jaspertheperson

Ticket UUID: 2969401
Title: Coordinates reported wrongly on ppc
Type: Bug Version: obsolete: 8.6b1
Submitter: jaspertheperson Created on: 2010-03-12 13:55:05
Subsystem: 62. Geometry Functions Assigned To: das
Priority: 5 Medium Severity:
Status: Open Last Modified: 2010-03-12 21:21:49
Resolution: None Closed By:
    Closed on:
Description:
This applies to all versions from 8.4.7 up through 8.6b1.1 when running on a ppc-based Mac with OSX 10.3. After you move a window by dragging its titlebar, the geometry is subsequently reported wrongly. For instance if it is a toplevel window, the command 'winfo geometry .' gives the result 200x200+0+22, wherever the window is moved to (the size is reported correctly, the offset is wrong). Also the coordinates returned for the mouse position relative to the window in bound commands are wrong;  the %x and %y keywords are substituted with the same values as the %X and %Y keywords.
The correct behaviour can be restored after moving the window, by maximizing and then normalizing it.