Tk Source Code

View Ticket
Login
Ticket UUID: b5c419c8a6c76b36dd4761e2e25bf2fb59fa1cae
Title: scrollbar-3.42 fails
Type: Bug Version: 8.7
Submitter: dgp Created on: 2020-10-23 15:27:48
Subsystem: 16. [scrollbar] Assigned To: jan.nijtmans
Priority: 5 Medium Severity: Minor
Status: Closed Last Modified: 2020-10-23 16:24:00
Resolution: Fixed Closed By: jan.nijtmans
    Closed on: 2020-10-23 16:24:00
Description:
When Tk 8.7 (trunk) is built and tested against Tcl 9.0 (trunk)
in the X11 configuration on MacOSX Catalina, this test fails:

==== scrollbar-3.42 ScrollbarWidgetCmd procedure, "fraction" option FAILED
==== Contents of test case:

    format {%.6g} [.t.s fraction 100 0]

---- Result was:
4.66207e-18
---- Result should have been (exact matching):
0
==== scrollbar-3.42 FAILED
User Comments: jan.nijtmans added on 2020-10-23 16:24:00:

Building against Tcl 9.0a1 wouldn't help. This was a pure Tk problem.


jan.nijtmans added on 2020-10-23 16:22:59:

Fixed in trunk now.

Thanks for noticing!


dgp added on 2020-10-23 16:07:28:
Tried a build against Tcl 9.0a1 to gain more insight, but
the master -> parent transformation prevented it.

jan.nijtmans added on 2020-10-23 16:05:40:
I know what's going on.  Stay tuned ...