From: Brett Williams Date: 2005-04-28T04:44:31+09:00 Subject: Re: tk_optionMenu bug in 1.8.2 H.Yamamoto wrote: >>I have attached a standalone file which does this. >> >>Just run it and push any of the three add buttons to reproduce the >>error. Sorry it isn't smaller -- if this isn't good enough I can >>attempt to gut pieces of it at a time to see how small I can get it. > > > I couldn't reproduce the same error, but another error occured. > > 1. click any of the two add buttons on the left side > > 2. click Cancel button in opened window > > 3. following error is reported > [snip] > --- E:\pgui_orig.rb Thu Apr 28 02:51:48 2005 > +++ E:\pgui.rb Thu Apr 28 02:52:15 2005 > @@ -191,7 +191,7 @@ module ACTMfg > ok.pack('side' => 'left') > cancel.pack('side' => 'left') > > - win.wait_visibility > +# win.wait_visibility > win.focus > end > end > @@ -245,7 +245,7 @@ module ACTMfg > end > TkGrid.configure(pkg_label, operator_label, ver_label) > TkGrid.configure(pkg_entry, operator, ver_entry, ok, cancel) > - win.wait_visibility > +# win.wait_visibility > win.focus > end > end Makes no difference, I get the bgerror problem (it happens during the constructor of the TkMenuOptionButton which is before I even set win.wait_visibility). So this error might be lurking for us. I'm disturbed that you cannot recreate this problem with my test case. Maybe a sanity check is in order... does this problem recreate for you prior to your previous patch being applied (i.e. on vanilla 1.8.2)? If so then perhaps my colleague didn't get the patch in quite right or something. I am using tcl-tk version 8.3.2 on linux/i686 and hpux11.00/pa2.0.