UFO - Universal FlyOut

UFO - Universal FlyOut

2.3k Downloads

macro window has no UFO button

ScottIngram opened this issue · 5 comments

commented

User hayleqwyn on curseforge reports:

For some reason, there is no button for me to open UFO with the macro window. There doesn't seem to be any error being thrown however, so I don't know why. But it's making it very tedious to add macros to my flyouts, as I have to open the macro window, grab a macro, then open the spellbook or professions window (which closes the macro window) to add it to a flyout, making adding multiple macros take forever.

Yup, that's a pain, sorry. I think it broke in the pre-patch and I missed it. Should be easy to fix.

commented

I'm having trouble recreating this. Are you using any addons that affect the macro window?

commented

Apparently, the addon Macro Toolkit was preventing the button from showing up. I tried disabling it, and the UFO button is now showing properly. Do you happen to know why that would be happening?

commented

Thanks for the extra info. I found the problem

  • the default Blizz macro window code loads on-demand when the user opens it.
  • my code was listening for that to happen and reacts by sticking the UFO button on it.
  • MTK forces the Blizz macro window code to load "early"
  • if MTK loads before UFO does, then UFO isn't there yet to hear the macro window code load.

I've written the bugfix. UFO no longer assumes the macro window code is going to only load on-demand when the user opens it. Now it will check to see if it's already loaded.

Also, UFO now detects MTK and gives it a UFO button too :-)

commented

fixed and released to curseforge. thanks again!

commented