Tk Library Source Code

View Ticket
Login
2026-11-15
23:57 • New ticket [7ddeff4e86] controlwidget::thermometer: set and -variable fail with "unknown subcommand lineTo". artifact: 2609357e1b user: serhiy.storchaka
23:54
Fix [7ddeff4e86]: controlwidget::thermometer: setting the value with the set method or through -variable failed with 'unknown subcommand "lineTo"'. The method is called needleTo. Add controlwidget.test. leaf check-in: 14bd904c7d user: serhiy.storchaka tags: thermometer-set-value

Ticket UUID: 7ddeff4e86584d6edb41df0ae5f7d770f350f408
Title: controlwidget::thermometer: set and -variable fail with "unknown subcommand lineTo"
Type: Bug Version: trunk
Submitter: serhiy.storchaka Created on: 2026-11-15 23:57:43
Subsystem: tklib :: controlwidget Assigned To: nobody
Priority: 5 Medium Severity: Minor
Status: Open Last Modified: 2026-11-15 23:57:43
Resolution: None Closed By: nobody
    Closed on:
Description:

Setting the value of a thermometer, with .t set 30 or through its -variable, fails with unknown subcommand "lineTo". The method that moves the bar is called needleTo.

Proposed fix in branch thermometer-set-value.