At 07:57 PM 5/22/97 -0400, Stewart Allen wrote:
>On Thu, 22 May 1997, Troy Monaghen wrote:
>>
>> Today I opened a moderately sized vtcl application and proceeded to add
>> another toplevel widget... but it was not until I saved it (I was actually
>> going for "Save As..." but accidentally hit "Save") that I noticed that it
>> named the toplevel widget the same as a previous one ".top19" and overwrote
>> the previous one.  Any ideas what might cause this to happen or how to
>> avoid this in the future??? Should I turn off the automatic naming and
>> manually give names to all my widgets?
>
> I can see how this could happen if the "old" .top19 had not yet
> been created (shown) and you created a new toplevel and a couple
> other things happened to be in alignment. There is code which
> checks for the existence of a same-namewidget before trying to create
> a new one, but I now see how this is not strong enough for toplevels.
>
> I'll try to work in a fix for 1.10. Thanks for the report.

Sounds like you have the right scenario... the old .top19 widget was 
saved in a hidden state (state = withdraw) and it had not been shown at all 
during the session.

Thanks

---
R. Troy Monaghen                | Alliance Systems Incorporated
 [EMAIL PROTECTED]                   |  [EMAIL PROTECTED]
 http://www.mcs.net/~troy       |  http://www.alli.com

Reply via email to