Tk Source Code

View Ticket
Login
Ticket UUID: f88118a47f94696e74413cc0e3e1b18745e9c8e4
Title: inaccurate scrollbar error-message
Type: Bug Version: 8.7/9.0
Submitter: jan.nijtmans Created on: 2024-12-19 20:07:27
Subsystem: 23. Option Parsing Assigned To: jan.nijtmans
Priority: 5 Medium Severity: Minor
Status: Closed Last Modified: 2024-12-22 11:46:45
Resolution: Fixed Closed By: jan.nijtmans
    Closed on: 2024-12-22 11:46:45
Description:

Not important enough to rush into 9.0.1, but ...

When setting the -elementborderwidth of a scrollbar to a "badValue", the error-message is:

    expected screen distance but got "badValue"
This is shown in testcase scrollbar-1.15. However, the -elementborderwidth of a scrollbar accepts the empty string as well. So the expected error-message is:
    expected screen distance or "" but got "badValue"
This was accounted for in tkConfig.c in Tk 8.7/9.0, but was forgotten in tkOldConfig.c

User Comments: jan.nijtmans added on 2024-12-22 11:46:45:

Fixed in [a7dcfb1530644489|8.7] and [b750c7567f37924e|9.0]


jan.nijtmans added on 2024-12-19 20:15:43:

Proposed fix [06fcb6d1ebd3fe1a|here]