From: SourceForge.net <no...@so...> - 2006-07-27 17:22:52
|
Bugs item #1520897, was opened at 2006-07-12 00:34 Message generated for change (Comment added) made by jaspert You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112997&aid=1520897&group_id=12997 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: 10. Generic Menus Group: current: 8.4.13 Status: Open Resolution: None Priority: 5 Submitted By: Jasper Taylor (jaspert) Assigned to: Jeffrey Hobbs (hobbs) Summary: menu index fails if label contains square bracket Initial Comment: e.g., $ wish % pack [menubutton .mb -text Play... -relief raised -menu .mb.m] % menu .mb.m -tearoff 0 .mb.m % .mb.m add command -label ywgevfyuw % .mb.m add command -label {p[q} % .mb.m index {p[q} bad menu entry index "p[q" % .mb.m entrycget 1 -label p[q % (TclTk 8.4.13 on FC5 x86-64) ---------------------------------------------------------------------- >Comment By: Jasper Taylor (jaspert) Date: 2006-07-27 17:22 Message: Logged In: YES user_id=456242 Maybe it's doing a glob search for the matching menu caption rather than trying to match it exactly, and interpreting the [ as a special character? It shouldn't do, as there's nowhere to put a '-exact' option. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112997&aid=1520897&group_id=12997 |