From: SourceForge.net <no...@so...> - 2008-12-31 22:39:22
|
Bugs item #2479603, was opened at 2008-12-31 12:50 Message generated for change (Comment added) made by uwe_hollerbach You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112997&aid=2479603&group_id=12997 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: 09. [listbox] Group: current: 8.5.5 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Uwe Hollerbach (uwe_hollerbach) Assigned to: Allen Flick (caflick) Summary: listbox aim is off after window gets moved. Mac OSX 10.3.9 Initial Comment: I'm using 8.5.6 on Mac OSX 10.3.9 on an old iMac G3. I have an app with a listbox, and I've noticed that the listbox reports (and highlights) the wrong entry after I have moved the app window. Initially, if I have not moved the window, the aim is correct, but afterwards the wrong entry is highlighted and reported. It looks as if there is a mapping between screen coordinates relative to the origin of the app window and absolute coordinates, and that mapping gets lost when the window is moved. I have a small test of this which I'm attaching. Uwe Hollerbach ---------------------------------------------------------------------- >Comment By: Uwe Hollerbach (uwe_hollerbach) Date: 2008-12-31 14:39 Message: This may not be a listbox-specific issue. I've done a bit more investigating with just printing out various [winfo] items, and I get what seems to be similar results: the following is the output from running the second attachment, geo.tcl: first printout from when the app is initially created, second output after it's been moved: lupus:~/programs/utilities% ./geo.tcl window geometry is 122x28+5+27 window rootx is 5 window rooty is 49 window vrootx is 0 window vrooty is 0 window x is 5 window y is 27 window geometry is 122x28+0+-22 window rootx is 0 window rooty is 0 window vrootx is 0 window vrooty is 0 window x is 0 window y is -22 File Added: geo.tcl ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112997&aid=2479603&group_id=12997 |