tk_dialog bug: grab failed in tk_dialog, line 142
Closed / Fixed1216775fffffffffffffffffffffffffffffffffCreated 21 years agoUpdated 21 years ago
Descriptionplain2005-06-07 23:52:11
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
sick_soulplain2005-06-08 06:54:06
File Added - 137618: tk_dialog.tcl.patch
dkf Ticket [1216775fff]: 4 changes
[History diff]2005-08-26 17:03:12
hobbsplain2005-10-05 11:14:39
Logged In: YES user_id=72656 Fixed in 8.4.12 and 8.5a4.
hobbs Ticket [1216775fff]: 2 changes
[History diff]2005-10-05 11:14:40
Log in (anonymous is fine) to add a comment.
Attachments:
- tk_dialog.tcl.patch [download] added by sick_soul on 2005-06-08 06:54:04. [details]