Itk - the [incr Tk] extension

Ticket Change Details
Login
Overview

Artifact ID: a823da9c07087415ae64024abded54adb7236499
Ticket: 6cb97a121190134fb252351a6429a743046948d8
infinite loop in iwidgets Panedwindow-2.5
User & Date: dgp 2017-07-11 19:28:50
Changes

  1. icomment:
    
    The cause of the problem is that
    
    uplevel #0 destroy $widget
    
    is (properly) expecting that the namespace
    of level #0 is the global namespace so that
    "destroy" resolves to the Tk command "::destroy".
    
    What is happening instead is that Itk has done
    some shenanigans under the covers to force the
    namespace of that frame to be ::iwidgets::Panedwindow
    so that some resolutions in the config script
    happen as they need to.
    
    This is clearly an incorrect solution, and another
    one has to be found, probably involving the pushing
    and popping of a callframe.
    
  2. login: "dgp"
  3. mimetype: "text/x-fossil-plain"
  4. priority changed to: "Immediate"
  5. resolution changed to: "Open"