Tk Source Code

View Ticket
Login
Ticket UUID: 1088805
Title: Aqua: failed bind-* tests
Type: Bug Version: obsolete: 8.5a3
Submitter: dgp Created on: 2004-12-21 04:02:46
Subsystem: 69. Events Assigned To: nobody
Priority: 2 Severity: Minor
Status: Closed Last Modified: 2017-12-05 15:56:14
Resolution: Fixed Closed By: marc_culler
    Closed on: 2017-12-05 15:56:14
Description:
==== bind-13.13 Tk_BindEvent procedure: invalid key
detail FAILED
==== Contents of test case:

    setup
    bind .b.f <Key> "lappend x Key%K"
    bind .b.f <KeyRelease> "lappend x Release%K"
    set x {}
    event gen .b.f <Key> -keycode 0
    event gen .b.f <KeyRelease> -keycode 0
    set x

---- Result was:
Keya Releasea
---- Result should have been (exact matching):
Key?? Release??
==== bind-13.13 FAILED

==== bind-15.7 MatchPatterns procedure, ignoring type
mismatches FAILED
==== Contents of test case:

    setup
    bind .b.f <Double-1> {set x 1}
    set x 0
    event gen .b.f <Button-1>
    event gen .b.f <Key-Shift_L>
    event gen .b.f <ButtonRelease-1>
    event gen .b.f <Button-1>
    event gen .b.f <ButtonRelease-1>
    set x

---- Result was:
0
---- Result should have been (exact matching):
1
==== bind-15.7 FAILED
User Comments: fvogel added on 2017-12-04 20:20:10:

For the fix for bind-15.23 see [0feb63f139]


fvogel added on 2017-12-02 09:06:10:

bind-13.13 does not fail anymore (perhaps foar a long time).

bind-15.7 was just fixed by Marc Culler in the branch bind-errors branch.


dgp added on 2006-03-14 11:43:13:
Logged In: YES 
user_id=80530


still fail in 8.4.13 and 8.5a4