|
2026-11-16
| ||
| 00:07 | • Ticket [fa6fbae045] widget::dateentry does not accept array as textvariable status still Open with 3 other changes artifact: bf62e14be7 user: serhiy.storchaka | |
| 00:02 | Fix [fa6fbae045]: widget::dateentry did not set its -textvariable, so reading an array element given as -textvariable failed, and an existing value was ignored. The variable now shows the date it holds if it is valid, and is set to the current date otherwise, also when -textvariable is configured later. Like for the standard widgets, the variable is global. Add dateentry.test. leaf check-in: 329ac63aae user: serhiy.storchaka tags: dateentry-textvariable | |
|
2025-02-16
| ||
| 13:20 | • New ticket [fa6fbae045] widget::dateentry does not accept array as textvariable. artifact: 65c10792f8 user: lizhou | |
| Ticket UUID: | fa6fbae045ac70b86b7d950dad6ff977e4612c18 | |||
| Title: | widget::dateentry does not accept array as textvariable | |||
| Type: | Bug | Version: | 0.98 | |
| Submitter: | lizhou | Created on: | 2025-02-16 13:20:19 | |
| Subsystem: | tklib :: widget :: dateentry | Assigned To: | nobody | |
| Priority: | 5 Medium | Severity: | Severe | |
| Status: | Open | Last Modified: | 2026-11-16 00:07:23 | |
| Resolution: | None | Closed By: | nobody | |
| Closed on: | ||||
| Description: |
It is convient to use an array as a textvariable with GUI widget. But if you use an array as textvariable ,It does not work as expected and gives an error saying “no such element in array”。 It is expected for the widget constructor code to initialize the array element, even if the element is emeply. | |||
| User Comments: |
serhiy.storchaka added on 2026-11-16 00:07:23:
Proposed fix in branch dateentry-textvariable. As suggested, the -textvariable is now set when the widget is created: to the date it holds if it is valid, otherwise to the current date. The same happens when -textvariable is configured later. Like for the standard widgets, a variable name which is not fully qualified now refers to a global variable. | |||
