Tk Source Code

View Ticket
Login
Ticket UUID: f2655bb0ec2ae135373d95b23b3445d8aa388b15
Title: bind-15.23 fails if the mouse is inside the test window
Type: Bug Version: core-8-6-branch
Submitter: fvogel Created on: 2016-05-25 21:17:03
Subsystem: 86. Test Tools Assigned To: fvogel
Priority: 6 Severity: Minor
Status: Closed Last Modified: 2016-05-30 18:15:31
Resolution: Fixed Closed By: fvogel
    Closed on: 2016-05-30 18:15:31
Description:
bind-15.23 fails if the mouse is inside the test window at the time the test is launched


==== bind-15.23 MatchPatterns procedure, time wrap-around FAILED
==== Contents of test case:

    bind .t.f <Double-1> {set x 1}
    set x 0
    event generate .t.f <Button-1> -time -100
    event generate .t.f <Button-1> -time 500
    event generate .t.f <ButtonRelease-1>
    return $x

---- Result was:
1
---- Result should have been (exact matching):
0
==== bind-15.23 FAILED


Actually to get it fail you need to run Vista and to run:

nmake -f makefile.vc test OPTS=symbols TCLDIR=%MYTCL% TESTFLAGS="-file bind.test -match bind-15.* -verbose beps"

(running bind-15.23 alone does not make it fail)

If the mouse pointer is not in the test windows opened by the test suite, it does not fail.
User Comments: fvogel added on 2016-05-30 18:15:31:
Fix merged to core-8-6-branch and trunk.

fvogel added on 2016-05-25 21:21:01:

Fix proposed: [e610cbadf0]