Skip to content
Tcl Source Code History Of Ticket 1664597
Login

History Of Ticket 1664597

Artifacts Associated With Ticket 1664597

  1. Ticket change [643e273e24] (rid 92724) by nobody on 2007-02-20 19:16:44:

    1. assignee initialized to: "dkf"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      A small script:
      
      ## script start
      
      namespace eval ns1 {}
      namespace eval ns2 {}
      namespace eval ns3 {}
      
      
      upvar 0 ns2::a ns1::a
      
      pack [button .bu1 -textvariable ::ns1::a(a)]
      pack [label .lab1 -textvariable ::ns1::a(a)]
      
      set ns2::a(a) ns2
      
      upvar 0 ns3::a ns1::a
      
      set ::ns3::a(a) ns3
      
      
      ## script end
      
      The text in the button is : ns2
      The text in the lable is : ns2
      
      If I move the mousepointer over the button ".bu1" the text changed to
      "ns3". The text in the label ".lab1" is staying "ns2".
      
      I think, both widgets should show "ns3"
      
      
      
      Regard
      Manfred
      
    4. foundin initialized to: "None"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "nobody"
    10. subsystem initialized to: "18. Commands M-Z"
    11. title initialized to: "upvar bug"
    12. type initialized to: "Bug"
  2. Ticket change [a3b712fd7f] (rid 110088) by dgp on 2007-02-21 04:30:04:

    1. assignee changed to: "msofer"
    2. subsystem changed to: "07. Variables"
  3. Ticket change [7d1a2626d9] (rid 97189) by dgp on 2007-02-21 04:45:40:

    1. assignee changed to: "dgp"
    2. closedate changed to: "2007-02-20T21:45:40"
    3. closer changed to: "dgp"
    4. icomment:
      Logged In: YES 
      user_id=80530
      Originator: NO
      
      
      It appears the issues here are
      the details of how Tk widgets
      track their -textvariables.  
      Raise this in the Tk Bug Tracker.
      
      If there's an issue specific
      to [upvar] that I'm not seeing,
      try constructing another demo
      script that doesn't use Tk.
      From what I can see in the
      submitted example script, [upvar]
      appears to be working fine.
      
      Note also that the use
      of array variables here
      is an unneeded complication.
      Scalar variables show the same
      behavior.
      
      
    5. login: "dgp"
    6. mimetype: "text/plain"
    7. resolution changed to: "Invalid"
    8. status changed to: "Pending"
    9. username: "dgp"
  4. Ticket change [6d83e6b8ad] (rid 128714) by jenglish on 2007-02-21 07:31:01:

    1. icomment:
      Logged In: YES 
      user_id=68433
      Originator: NO
      
      I get a segfault at exit when running this under wish8.4; there's clearly a bug _somewhere_.
      
      Why do you think both widgets should show "ns3"?  That isn't immediately obvious.
      
      
    2. login: "jenglish"
    3. mimetype: "text/plain"
    4. username: "jenglish"
  5. Ticket change [dc9bdbb4a0] (rid 114510) by sf-robot on 2007-03-07 10:20:09:

    1. closedate changed to: "2007-03-07T03:20:09"
    2. closer changed to: "sf-robot"
    3. icomment:
      Logged In: YES 
      user_id=1312539
      Originator: NO
      
      This Tracker item was closed automatically by the system. It was
      previously set to a Pending status, and the original submitter
      did not respond within 14 days (the time period specified by
      the administrator of this Tracker).
      
      
    4. login: "sf-robot"
    5. mimetype: "text/plain"
    6. status changed to: "Closed"
    7. username: "sf-robot"