Tk Source Code

View Ticket
Login
Ticket UUID: 3554081
Title: Test bind-22.10 fails
Type: Bug Version: obsolete: 8.5.12
Submitter: fvogel Created on: 2012-08-03 19:18:52
Subsystem: 01. Bindings Assigned To: fvogel
Priority: 5 Medium Severity: Minor
Status: Closed Last Modified: 2014-02-19 21:42:32
Resolution: Fixed Closed By: fvogel
    Closed on: 2013-09-23 21:43:13
Description:
In core-8-5-branch and core-8-4-branch as well:

==== bind-22.10 HandleEventGenerate FAILED
==== Contents of test case:

    setup
    bind .b.f <Key> {set x "%s %K"}
    set x {}
    event gen .b.f <Control-Key-1>
    set x

---- Result was:
5 1
---- Result should have been (exact matching):
4 1
==== bind-22.10 FAILED


This was fixed a long time ago in trunk. See the bottommost comment in bug 2307387.
Citing what was said there:
"bind-22.10: it is due to the test case using a numeric character ("1") which has different layouts depending on keyboard locale. Using a more consensual key makes it universal."

Consensual key chosen in the trunk version of this test is space, which seems to be a clever choice indeed.

I will fix bind-22.10 accordingly in both core-8-5-branch and core-8-4-branch.
User Comments: fvogelnew1 added on 2012-08-04 02:49:32:

allow_comments - 1

fvogelnew1 added on 2012-08-04 02:49:12:
Fixed in both core-8-4-branch and core-8-5-branch.