| Ticket UUID: | 3046743 | |||
| Title: | Invoked "break" outside of a loop in [bgerror] | |||
| Type: | Bug | Version: | obsolete: 8.6b1.1 | |
| Submitter: | andygoth | Created on: | 2010-08-17 03:08:30 | |
| Subsystem: | 33. Generic Dialog Support | Assigned To: | dkf | |
| Priority: | 5 Medium | Severity: | ||
| Status: | Closed | Last Modified: | 2010-09-05 21:48:34 | |
| Resolution: | Invalid | Closed By: | dkf | |
| Closed on: | 2010-09-05 14:48:34 | |||
| Description: |
Clicking "Skip Messages" in the standard Tk [bgerror] dialog results in an invoked "break" outside of a loop error, when there is only one error. To test, type "bgerror foo", then click Skip Messages in the pop-up dialog. The error is returned by [bgerror]. Next, type "bgerror foo" again and press Return to generate an unknown option "-relief" error (bug 3046742). Now click Skip Messages, and there is no break error. | |||
| User Comments: |
dkf added on 2010-09-05 21:48:34:
allow_comments - 1
Whatever was going on is now sorted by other fixes, and the break-outside-loop issue is valid anyway; in the context where [bgerror] is called automatically, a TCL_BREAK exception signifies that the internal error message queue is to be dumped. To work around for testing, call like this:
foreach msg {foo} {bgerror $msg}
dkf added on 2010-08-22 04:11:15: There's no problem with [bgerror] causing that sort of error; that's what the protocol for interacting with the event loop machinery specifies. It was even documented back in the original Ousterhout book, back when [bgerror] was called [tkerror]... | |||
Home
Timeline
Branches
Tags
Forum
Tickets
Download
Wiki