From: SourceForge.net <no...@so...> - 2003-02-05 13:37:43
|
Bugs item #680884, was opened at 2003-02-05 13:43 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112997&aid=680884&group_id=12997 Category: 10. Generic Menus Group: 8.4.1 Status: Open Resolution: None Priority: 5 Submitted By: Vince Darley (vincentdarley) Assigned to: Todd Helfter (tmh) Summary: menubutton scripts are confused about their owning menu Initial Comment: The attached script shows a bug in the menubutton scripts, when the act of creating a menu takes some time, and the user inadvertently moves the mouse onto a different menu button. Tk tries to *post* the menu for the other menubutton, but that doesn't exist! Given we are in the middle of executing bindings for the first button, there is no reason for Tk to try to do something on the other. # Now click on menu 'one', but while you # are waiting for it to popup, move the # mouse over menu 'two'. # # You will get the following bgerror: # # invalid command name ".two.m" # while executing # "$menu cget -type" # (procedure "MbPost" line 13) # invoked from within # "MbPost $new $rootx $rooty" # (procedure "tk::MbMotion" line 14) # invoked from within # "tk::MbMotion .one down 95 93 # " # (command bound to event) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112997&aid=680884&group_id=12997 |