From: <no...@so...> - 2001-12-27 19:59:41
|
Bugs item #220934, was opened at 2000-10-31 17:33 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=112997&aid=220934&group_id=12997 Category: 05. Canvas Items Group: = 8.3.1 >Status: Closed >Resolution: Invalid Priority: 5 Submitted By: Brent B. Welch (welch) Assigned to: Nobody/Anonymous (nobody) Summary: Canvas item active and Enter fail if mouse moves quickly Initial Comment: OriginalBugID: 5989 Bug Version: 8.3.1 SubmitDate: '2000-07-06' LastModified: Severity: LOW Status: UnAssn Submitter: techsupp OS: Windows NT OSVersion: NT 4.0 SP5 Server Machine: 600MHz, 256KRAM Name: Roy E. Terry ReproducibleScript: package require Tk canvas .c set rid [.c create rectangle 10 10 100 100] .c itemconfigure $rid -activefill yellow # .c bind $rid <Enter> {puts "Entered [incr eCnt]"} pack .c ObservedBehavior: when the mouse moves *slowly* into the rectangle it becomes active and turns yellow. When the mouse is quickly moved to the center area of the rectancle (not point to its border) then the rectangle never turns yellow. DesiredBehavior: Mouse over a canvas item should (eventually) always be detected and standard behavior should be then executed. In this case the rectangle should eventually turn yellow as long as the pointer remains in the rectangle. ---------------------------------------------------------------------- >Comment By: Jeffrey Hobbs (hobbs) Date: 2001-12-27 11:59 Message: Logged In: YES user_id=72656 As noted by hinteger, an unfilled rectangle only has valid points on the edge, and when moving a mouse quickly, mouse points will get dropped. ---------------------------------------------------------------------- Comment By: Gerhard Hintermayer (hinteger) Date: 2000-12-21 08:21 Message: Points inside of a rectangle are not considered as "inside" points, so I think <Enter> should only work on the vertices. For the disired behavior a polygon should be used. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=112997&aid=220934&group_id=12997 |