MicroMenu
Shows the micro menu and game menu in a clickable broker tooltip. Also shows your fps and latency.
Broker_MicroMenu does not provide it’s own display, you will need a LDB-based display addon.
Known Problems:
When opening the spellbook via Broker MicroMenu, the spells can not be clicked. You can still drag them to your actionbars. This is a problem related to secure code and can not be fixed because of how the data broker system works. (Just use your hotkey for the spellbook if you want to click the spells there).
In reply to Forge_User_49870489:
Using the previous version of this addon, v1.4.4, the easiest way to workaround this is to instead call the main variables directly that display the button text and keyboard binding. For the character button replace this chunk of code:
With this:
For the collections button, replace this chunk of code:
With this:
Note that I did add an extra if else statement to check if the keys were actually bound to anything similar to how the Spell Book is already coded.
Also of note, for some reason on the latest version, 1.4.6, the latency and FPS counter remains gray whether or not they are good or bad. With the above fixes applied to version 1.4.4, everything works fine, including the text color.
Here's the addon with the changes included: Broker_MicroMenu-1.4.4-text-fixes.zip.
I hope this helps!
In reply to zero456:
In reply to zero456:
In reply to yess:
Thanks for the update, I'm still using this!
I just started playing wow again, and noticed that in 7.3 this addon is no longer bringing up the game menu. It's now opening the character screen. Weird. Is there a fix perhaps incoming for this?
I've noticed since 7.2 that the menu has a couple of seconds of delay before disappearing (when nothing is clicked). Is there any way to return this to it's old no-delay hiding on mouseout? Kinda gets in the way of some of my UI features, if only for a couple of seconds, whereas it never used to.
Either that or as someone previously suggested - making it a clickable menu rather than a mouseover.
Patch 7.2 the mouseover menu does not seem to be functional. Click brings up the Character screen and the options to add things like latency work and are visible but no micro menu on mouseover.
The menu is missing the link/button to open the in-game shop.
Note that WoW Tokens can only be purchased by opening the shop while logged into a character. The shop link from the main menu (character selection screen) does not include them.
Group finder icon is missing and Character icon shows up in front of System.
Can you look into this too?
Hi, is it possible to add social menu (O) in it ?
Sure, I'll look into it.
Group finder icon doesn't show.
Edit: It shows once on the first time i mouseover the menu, bot not after that.
The problem is the guild menu. The icon is made so that it will show the guild tabard but something is wrong that it is throwing out formatting errors where it messes up the icon below it. It's too late right now for me to bother with it but that's the problem and it needs to be fixed.
When I mouse over the menu I don't see the Collections tab anymore. How can I fix this? I tried adding the below but didn't work.
if _G.CollectionsMicroButton then
local y, x = tooltip:AddLine()
tooltip:SetCell(y, 1, path.."mounts.tga", myProvider)
tooltip:SetCell(y, 2, _G.CollectionsMicroButton.tooltipText)
tooltip:SetLineScript(y, "OnMouseUp", MouseHandler, _G.CollectionsMicroButton)
end
To fix the missing collections item:
replace the block that starts on line 259 (if _G.CompanionsMicroButton then) with the block below:
if _G.CollectionsMicroButton then
local y, x = tooltip:AddLine()
tooltip:SetCell(y, 1, path.."mounts.tga", myProvider)
tooltip:SetCell(y, 2, _G.CollectionsMicroButton.tooltipText)
tooltip:SetLineScript(y, "OnMouseUp", MouseHandler, _G.CollectionsMicroButton)
end
The micro button is actually called the collections button, not the companion.
Suggestion/Feature request...
Could you please make it an option to only show the menu (tooltip) when the mouse is clicked as opposed to simply on mouseEnter? I keep this broker item in my top right corner just above the minimap. Often times I found myself overshooting the map when I wanted to interact with it and ended up triggering this addon's tooltip. so what I did was make a change to the code to make it so that it required a mouse click rather than a mouseover to activate it...
I changed...
function dataobj:OnEnter()
to...
function dataobj:OnClick()
And it now behaves in a way that is preferable to the way I use it. But I think it would be a good idea to make this an optional configuration item.
Opening and trying to cast from the spellbook through the micro menu is causing this to happen. Opening it by hotkey doesn't cause it.
2x [ADDON_ACTION_FORBIDDEN] AddOn 'Broker_MicroMenu' tried to call the protected function 'CastSpell()'.
!BugGrabber\BugGrabber.lua:589: in function <!BugGrabber\BugGrabber.lua:589>
[C]: in function `CastSpell'
FrameXML\SpellBookFrame.lua:444: in function `SpellButton_OnClick'
[string "*:OnClick"]:5: in function <[string "*:OnClick"]:1>
Locals:
nil
/e
Changing "_G.ToggleSpellBook(_G.BOOKTYPE_SPELL)" to "ToggleFrame(SpellBookFrame)" seemed to have fixed it.
@Hunter_Killers ty