Tk Source Code

View Ticket
Login
Ticket UUID: 497697e27ddd93d5984fd88e4b2045bea3dacf8b
Title: textDisp-11.13 fails
Type: Bug Version: all
Submitter: dgp Created on: 2014-11-25 15:44:34
Subsystem: 18. [text] Assigned To: fvogel
Priority: 3 Low Severity: Minor
Status: Closed Last Modified: 2014-12-30 15:08:13
Resolution: Out of Date Closed By: dgp
    Closed on: 2014-12-30 15:08:13
Description:
==== textDisp-11.13 TkTestSetYView, partially visible last line FAILED
==== Contents of test case:

    catch {destroy .top}
    toplevel .top
    wm geometry .top +0+0
    text .top.t -width 20 -height 5
    pack .top.t
    .top.t insert end "Line 1"
    for {set i 2} {$i <= 100} {incr i} {
        .top.t insert end "\nLine $i"
    }
    update
    scan [wm geometry .top] "%dx%d" w2 h2
    wm geometry .top ${w2}x[expr $h2-2]
    update
    .top.t yview 1.0
    update
    set tk_textRedraw {}
    .top.t see 5.0
    update
    # Note, with smooth scrolling, the results of this test
    # have changed, and the old '2.0 {5.0 6.0}' is quite wrong.
    list [.top.t index @0,0] $tk_textRedraw

---- Result was:
1.0 {2.0 5.0}
---- Result should have been (exact matching):
1.0 5.0
==== textDisp-11.13 FAILED
User Comments: dgp added on 2014-12-30 15:08:13:
I no longer have the system where I observed the failures.

Test passes on my current system.

fvogel added on 2014-12-28 09:33:59:
Also works for me on trunk (CentOS 5).

fvogel added on 2014-12-24 16:54:49:
Just a thought: with what branch is that report?

My tries were with core-8-5-branch.

fvogel added on 2014-12-24 16:52:55:
textDisp-11.13 passes for me on CentOS 5 with KDE.

For my tests I picked CentOS 5 here:
    http://wiki.centos.org/Download
(Alternative downloads, I picked i386 version in "CD and DVD ISO images" column).


Can't see the problem --> Can't fix...

fvogel added on 2014-12-24 10:04:16:
This test passes as is for me on both Vista and Debian 6.

Currently downloading CentOS 5 for installation and further test...

dgp added on 2014-11-26 17:44:12:
This is Centos Linux 5 with some version of KDE.

Just to gain some perspective, I tried several
old releases of Tk, and they all fail this test.
The expected test results change over time, and
the actual results achieved also change, but I
never saw them agree.

fvogel added on 2014-11-25 19:22:51:
What platform?

Does not fail for me on Windows.