Tk Source Code

View Ticket
Login
Ticket UUID: 1843539
Title: enter bindings after activation fire only after first move
Type: Bug Version: obsolete: 8.4.18
Submitter: randolf Created on: 2007-12-03 18:14:34
Subsystem: 66. Aqua Window Operations Assigned To: das
Priority: 3 Low Severity:
Status: Open Last Modified: 2008-03-14 03:39:33
Resolution: None Closed By:
    Closed on:
Description:
Greetings,

in Tk8.4.16/Aqua "Enter" bindings of a window fire only after the
first move of the mouse after the window was activated.
To reproduce, run the following script:
-snip-
toplevel .t1
toplevel .t2
bind .t1 <Enter> "puts Enter-T1;update"
bind .t2 <Enter> "puts Enter-T2;update"
-snap-

Activate the first toplevel by clicking right into it (not onto the title bar),
but do not move the mouse.
Nohing happens, but I expected the enter binding to fire immediately.
Move the mouse. The binding fires.

best regards,
Randolf
User Comments: randolf added on 2008-03-14 03:39:33:
Logged In: YES 
user_id=125929
Originator: YES


The bug is still present in 8.4.18.

randolf added on 2008-01-08 03:41:39:
Logged In: YES 
user_id=125929
Originator: YES

The bug is still present in 8.4.17.