Ticket UUID: | 1216775 | |||
Title: | tk_dialog bug: grab failed in tk_dialog, line 142 | |||
Type: | Bug | Version: | obsolete: 8.4.11 | |
Submitter: | sick_soul | Created on: | 2005-06-07 23:52:11 | |
Subsystem: | 69. Other | Assigned To: | hobbs | |
Priority: | 5 Medium | Severity: | ||
Status: | Closed | Last Modified: | 2005-10-05 11:14:40 | |
Resolution: | Fixed | Closed By: | hobbs | |
Closed on: | 2005-10-05 04:14:40 | |||
Description: |
I am running tclsh8.4 under GNU/Linux and requiring package Tk and Expect. Please direct me to the proper bug tracking if this is not the correct place to report. The problem I am experiencing is that command tk_dialog raises an error like this: grab failed: window not viewable grab failed: window not viewable while executing "grab $w" (procedure "tk_dialog" line 142) when the user clicks and drags continuously a scrollbar up and down in the app (thus "forcing" focus always on the scrollbar), and in the meantime some event occurs that pops up a dialog (via tk_dialog). I solved the problem by patching dialog.tcl (which I have in /usr/lib/tk8.4/) waiting for the visibility of the dialog to change before grabbing. A simple patch in unified format against dialog.tcl is attached. Claudio | |||
User Comments: |
hobbs added on 2005-10-05 11:14:39:
Logged In: YES user_id=72656 Fixed in 8.4.12 and 8.5a4. sick_soul added on 2005-06-08 06:54:06: File Added - 137618: tk_dialog.tcl.patch |
Attachments:
- tk_dialog.tcl.patch [download] added by sick_soul on 2005-06-08 06:54:04. [details]