| Ticket UUID: | 2368195 | |||
| Title: | paneconfigure not setting TCL_ERROR for unexisting window | |||
| Type: | Bug | Version: | None | |
| Submitter: | ggpolo | Created on: | 2008-12-01 01:16:24 | |
| Subsystem: | 21. [panedwindow] | Assigned To: | fvogel | |
| Priority: | 6 | Severity: | Minor | |
| Status: | Closed | Last Modified: | 2015-06-01 18:34:28 | |
| Resolution: | Fixed | Closed By: | fvogel | |
| Closed on: | 2015-06-01 18:34:28 | |||
| Description: |
Hi, When calling paneconfigure for a panedwindow with a non existing window it doesn't set TCL_ERROR. Based on the version found here: http://tktoolkit.cvs.sourceforge.net/viewvc/tktoolkit/tk/generic/tkPanedWindow.c?revision=1.37&view=markup I see it doesn't check for tkwin being NULL (line 683) which it could then set TCL_ERROR and be happy since the error message was already set by Tk_NameToWindow. | |||
| User Comments: |
fvogel added on 2015-06-01 18:34:28:
Merged in core-8-5-branch and trunk. fvogel added on 2015-05-24 23:16:00: Fix proposed in branch bug-2368195fff fvogel added on 2015-05-24 23:06:01: Valid report, despite the case has no consequence: % panedwindow .pw .pw % .pw paneconfigure .t bad window path name ".t" The correct error is therefore returned to the user. However, it is nevertheless true that error handling in the reported case is not fully correct since result = TCL_ERROR is not set. | |||
Home
Timeline
Branches
Tags
Forum
Tickets
Download
Wiki