Tk Source Code

View Ticket
Login
Ticket UUID: eb2681778376ed982323c7ef1f1999ce901d82ca
Title: listbox-13.3 fails on Linux
Type: Bug Version: core-8-6-branch
Submitter: fvogel Created on: 2016-09-03 16:30:48
Subsystem: 86. Test Tools Assigned To: fvogel
Priority: 6 Severity: Minor
Status: Closed Last Modified: 2016-09-10 09:10:00
Resolution: Fixed Closed By: fvogel
    Closed on: 2016-09-10 09:10:00
Description:
==== listbox-13.3 ListboxScanTo procedure FAILED
==== Contents of test case:

    .l yview moveto 1.0
    .l xview moveto 1.0
    .l scan mark 10 20
    .l scan dragto 5 10
    update
    set x [list [format {%.6g %.6g} {*}[.l xview]] [format {%.6g %.6g} {*}[.l yview]]]
    .l scan dragto [expr 5+$width] [expr 10+$height]
    update
    lappend x [format {%.6g %.6g} {*}[.l xview]] [format {%.6g %.6g} {*}[.l yview]]

---- Result was:
{0.8 1} {0.75 1} {0.6 0.8} {0.25 0.5}
---- Result should have been (exact matching):
{0.8 1} {0.75 1} {0.64 0.84} {0.25 0.5}
==== listbox-13.3 FAILED


Systematically repeatable on Linux Debian 6 and Debian 8.
User Comments: fvogel added on 2016-09-10 09:10:00:
Merged in core-8-6-branch and trunk.

fvogel added on 2016-09-03 16:59:47:

First commit to trigger this is:

[12499582] Implement TIP #441: Add -justify Configuration Option to the listbox Widget

I believe I had adjusted the test suite results on Windows only during implementation of this TIP. I must have forgotten to update this test result because it is not exercised on Windows (for me) due to unsatisfied font constraint.

Test case result is now modified in [9116a428].