From 1dc7351455702731637ad6de3de064bff4823fbb Mon Sep 17 00:00:00 2001 From: hobbs Date: Fri, 21 Sep 2001 20:37:40 +0000 Subject: * tests/scrollbar.test (scrollbar-6.27): marked knownBug because it is skewed by bad dimensions returned by Windows. --- tests/scrollbar.test | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/scrollbar.test b/tests/scrollbar.test index 7c0305c..88f31df 100644 --- a/tests/scrollbar.test +++ b/tests/scrollbar.test @@ -7,7 +7,7 @@ # Copyright (c) 1998-1999 by Scriptics Corporation. # All rights reserved. # -# RCS: @(#) $Id: scrollbar.test,v 1.6 2000/02/10 08:53:00 hobbs Exp $ +# RCS: @(#) $Id: scrollbar.test,v 1.7 2001/09/21 20:37:40 hobbs Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { source [file join [pwd] [file dirname [info script]] defs.tcl] @@ -535,7 +535,11 @@ test scrollbar-6.25 {ScrollbarPosition procedure} {unixOnly} { test scrollbar-6.26 {ScrollbarPosition procedure} {macOnly} { .s identify 8 179 } {arrow2} -test scrollbar-6.27 {ScrollbarPosition procedure} {pcOnly} { +test scrollbar-6.27 {ScrollbarPosition procedure} {pcOnly knownBug} { + # This asks for 8,21, which is actually the slider, but there is a + # bug in that GetSystemMetrics(SM_CYVTHUMB) actually returns a value + # that is larger than the thumb displayed, skewing the ability to + # calculate the trough2 area correctly (Win2k). -- hobbs .s identify [expr [winfo width .s] / 2] [expr int(.4 / [.s delta 0 1]) \ + [testmetrics cyvscroll]] } {trough2} -- cgit v0.12