Tk Source Code

View Ticket
Login
Ticket UUID: 1323972
Title: wm-grid-1.11,12 failures
Type: Bug Version: obsolete: 8.4.11
Submitter: dgp Created on: 2005-10-11 15:26:07
Subsystem: 65. Generic Window Operations Assigned To: dgp
Priority: 9 Immediate Severity:
Status: Closed Last Modified: 2005-12-02 01:32:23
Resolution: Fixed Closed By: dgp
    Closed on: 2005-12-01 18:32:23
Description:
tests fail on tip of core-8-4-branch:

==== wm-grid-1.11 usage FAILED
==== Contents of test case:

    list [catch {wm grid . 13 14 -1 16} msg] $msg

---- Result was:
1 {widthInc can't be <= 0}
---- Result should have been (exact matching):
1 {widthInc can't be < 0}
==== wm-grid-1.11 FAILED


==== wm-grid-1.12 usage FAILED
==== Contents of test case:

    list [catch {wm grid . 13 14 15 -1} msg] $msg

---- Result was:
1 {heightInc can't be <= 0}
---- Result should have been (exact matching):
1 {heightInc can't be < 0}
==== wm-grid-1.12 FAILED
User Comments: dgp added on 2005-12-02 01:32:23:
Logged In: YES 
user_id=80530

fixed for 8.4.12

dgp added on 2005-12-01 00:59:54:
Logged In: YES 
user_id=80530


this *is* something to
fix for 8.4.12   :^)

jenglish added on 2005-11-17 09:14:24:
Logged In: YES 
user_id=68433

Change came from #742882 "Potential division by zero in
gridded wm geometry".  According to the log in the bug
report, "Identical changes [were] made in win/tkWinWm.c and
macosx/tkMacOSXWm.c"; apparently someone (Jeff?) backported
tkUnixWm.c to core-8-4-branch but not the other two or the
test suite.

"widthInc can't be <= 0" is the correct condition to check for.

dgp added on 2005-11-17 02:18:30:
Logged In: YES 
user_id=80530


I see the error message
is inconsistent for
different platforms,
with Unix/X being the oddball.