Tk Source Code

View Ticket
Login
Ticket UUID: ad98f10b3ac12d5fb34190e5c913ea2268bad72e
Title: New bitmap test failure
Type: Bug Version: trunk
Submitter: dgp Created on: 2016-11-08 15:43:09
Subsystem: 25. Built-in Bitmaps Assigned To: fvogel
Priority: 5 Medium Severity: Minor
Status: Closed Last Modified: 2018-09-30 09:58:24
Resolution: Fixed Closed By: fvogel
    Closed on: 2018-09-30 09:58:24
Description:
Test passes on core-8-6-branch; fails on trunk:

==== bitmap-4.1 FreeBitmapObjProc FAILED
==== Contents of test case:

    set x [join questhead]
    button .b -bitmap $x
    set y [join questhead]
    .b configure -bitmap $y
    set z [join questhead]
    .b configure -bitmap $z
    set result {}
    lappend result [testbitmap questhead]
    set x red
    lappend result [testbitmap questhead]
    set z 32
    lappend result [testbitmap questhead]
    destroy .b
    lappend result [testbitmap questhead]
    set y bogus
    return $result

---- Result was:
{{1 1}} {{1 1}} {{1 1}} {}
---- Result should have been (exact matching):
{{1 3}} {{1 2}} {{1 1}} {}
==== bitmap-4.1 FAILED
User Comments: fvogel added on 2018-09-30 09:58:24:

Had to apply the fix to core-8-6-branch as well, see [a1a0145cd2]. bitmap-4.1, cursor-4.1 and color-4.1 (the latter is the constraint was met) failed on Debian 8.


fvogel added on 2016-12-02 21:01:59:

Fixed (directly) in trunk: [ae13ed6583], following what was done by dgp in [76e2d9c095].


fvogel added on 2016-11-30 22:52:46:

Wondering about this: [b2677cc770123a48]

I don't understand the above commit, but I note that you have just opened three bug reports on 3 newly failing tests among the four that were changed by the above commit.


fvogel added on 2016-11-08 22:05:14:
I suppose this happens on your CentOS Linux release 7.2.1511

Test passes for me on Linux Debian 8. I can't reproduce.