Sadly, ckknight doesn't seem to find the time to fix this Addon.
The problem is: I have the current MicroMenuFu for V2.0. All the buttons work correctly except the main menu button. When I click that I get a pop-up that states that FuBar has been blocked from this action only available to Blizzard UI. I have an option at that point of ignore or disable.
exec = function() if GameMenuFrame:IsShown() then GameMenuFrame:Hide() else GameMenuFrame:Show() end end,
The problem is that ToggleGameMenu() is somehow associated with SpellStopCasting(), SpellStopTargeting(), and ClearTarget(). My guess is that those functions are called directly in ToggleGameMenu, and that the "Open Game Menu" keybind (ESC) is bound directly to ToggleGameMenu. Since opening the game menu is probably not intended to be a protected function, it seems Blizzard just overlooked this issue or was too lazy to fix it, which they could easily do by setting the "Open Game Menu" keybinding to call a new function, say, DoEscapeStuff(), which called a non-protected ToggleGameMenu() as well as the protected functions, and then removing those functions from ToggleGameMenu(). Who knows if they will ever get around to fixing it though.
Are you sure you don't have an addon that's eating the error messages? I can't use the official version from files.wowace.com without getting three "addon action blocked" errors, nor can I use ToggleGameMenu() in a /script command. Although the menu does open in addition to these error out of combat, it doesn't open in combat.
Ah. Yeah, I was using the micro menu from BT but the only button I ever used was the game menu, because the ESC keybind only works for me about 10% of the time. (Same if I change it to another key.) It's some taint issue apparently, because it doesn't happen with no addons, but as it isn't 100% consistent I've been unable to figure out where exactly the problem is. So, MicroMenuFu makes my UI a bit cleaner. :P