Focus from menu bug ?
I have major problem with my oUF. When i'm using set focus from right-click menu i have this frustrating error
http://yfrog.com/0vwowscrnshot092510160655j from command "/focus" it's work fine. Is there any solution for that ? |
As far as i know, u cant use "Set Focus" from the menu if u have UnitFrames changed by the addons, cuz this is allowed to be called only from blizz UI.
|
There's no "proper" secure way to do this. Even re-implementing the entire menu system within the secure environment would have some issues.
|
ah ok. Thanks for respond. I made makro's for focus.
|
Excuse me for asking (as I don't know how the other addons work), but do other addons make use of the blizzardUI then (for example Decursive is able to set focus trough control+middle clicking their microframe when you have something targetted, and so is ControlFreak by a simple click the button when something valid is targetted).
Or are these functions macroed in their codebase? |
Yes, those are implemented through the restricted environment as macros.
|
Thanks for the info.
Learning something new every day :) |
You can fix it. Copy the complete menu from the Blizzard FrameXML and remove every focus entry. Dumb, but works.
|
Quote:
Code:
do -- fix SET_FOCUS & CLEAR_FOCUS errors Code:
do -- fix SET_FOCUS & CLEAR_FOCUS errors |
hehe it's working :D thanks for solution :)
|
Just to clarify for others, this "fix" will remove the option from the menu to set or clear focus. It will not fix the actual problem.
Or am I reading the code wrong? Haven't tried it. :rolleyes: |
Quote:
|
All times are GMT -6. The time now is 07:10 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI