From: SourceForge.net <no...@so...> - 2005-08-26 10:03:14
|
Bugs item #1216775, was opened at 2005-06-08 00:52 Message generated for change (Settings changed) made by dkf You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=1216775&group_id=10894 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. >Category: 69. Other >Group: current: 8.4.11 Status: Open >Resolution: Invalid Priority: 5 Submitted By: Claudio Fontana (sick_soul) >Assigned to: Jeffrey Hobbs (hobbs) Summary: tk_dialog bug: grab failed in tk_dialog, line 142 Initial Comment: 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 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=1216775&group_id=10894 |