Ticket UUID: | 731182 | |||
Title: | Tcl Event goes into an infinite loop when used with Tix | |||
Type: | Bug | Version: | obsolete: 8.4.2 | |
Submitter: | nobody | Created on: | 2003-05-02 06:37:17 | |
Subsystem: | 02. Event Loops | Assigned To: | nijtmans | |
Priority: | 5 Medium | Severity: | ||
Status: | Closed | Last Modified: | 2003-05-11 07:02:19 | |
Resolution: | Invalid | Closed By: | hobbs | |
Closed on: | 2003-05-11 00:02:19 | |||
Description: |
Tcl goes into an infinite loop when used with attached Tix file. To recreate the inifinite loop click on the scrollbar and drag it down to the last item. It can be recreated with the following setup Windows NT, Windows 2000 Tcl - 8.4.2 Tk - 8.4.2 Tix - 8.1.1, 8.2.0 This seems to be a corner case, since any change in the number items to be displayed on the tixTree or window height or pady or TIX_DEFAULT_SCHEME in tixInit.c does not recreate the bug. To recreate the bug in other versions of Tix e.g. 8.1.2, 8. 1.3 etc, change the following line in tixInit.c #define TIX_DEF_SCHEME "WmDefault" to #define TIX_DEF_SCHEME "TixGray" A preliminary debug found by attaching the VC 6.0 debugger to the errant program showed the stack trace as follows Tk_RedrawImage TclServiceIdle Tcl_ServiceAll ScrollbarProc Tk_TranslateWinEvent TkWinChildProc TkWinResendEvent ModalLoopProc Tk_BindEvent TkBindEventProc Tk_HandleEvent WindowEventProc Tcl_ServiceEvent Tcl_DoOneEvent Tk_MainLoop Tk_MainEx | |||
User Comments: |
hobbs added on 2003-05-11 07:02:19:
Logged In: YES user_id=72656 This is a bug in Tix and how it handles its scrollbars. This has happened to a few other widget sets, but has been corrected at least for BWidgets, which you can switch to. nobody added on 2003-05-02 13:37:17: File Added - 49323: tree.tcl |
Attachments:
- tree.tcl [download] added by nobody on 2003-05-02 13:37:17. [details]