Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 422ea73a404a8ed1f92718d80514353c0564a1b8
Ticket: 1216775fffffffffffffffffffffffffffffffff
tk_dialog bug: grab failed in tk_dialog, line 142
User & Date: sick_soul on 2005-06-07 23:52:11
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    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
    
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "sick_soul"
  9. subsystem changed to: "None"
  10. title changed to: "tk_dialog bug: grab failed in tk_dialog, line 142"
  11. type changed to: "Bug"