WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   nUI: Bug Reports (https://www.wowinterface.com/forums/forumdisplay.php?f=90)
-   -   Error Caused when trying to 'Set Focus' (https://www.wowinterface.com/forums/showthread.php?t=41406)

Blanckaert 09-11-11 10:16 PM

Error Caused when trying to 'Set Focus'
 
Hey Scott.... Hope all is well with you and yours, and hope that dang code bug isn't still biting you....

I've been having this error come up, when ever I right click on a portrait, and try to set focus (both .20 and .21 - have not tried in 6)

Date: 2011-09-12 00:03:03
ID: 1
Error occured in: AddOn: nUI
Count: 1
Message: Error: AddOn nUI attempted to call a forbidden function (FocusUnit()) from a tainted execution path.
Debug:
[C]: FocusUnit()
..\FrameXML\UnitPopup.lua:1514: func()
..\FrameXML\UIDropDownMenu.lua:700: UIDropDownMenuButton_OnClick()
[string "*:OnClick"]:1:
[string "*:OnClick"]:1
AddOns:

-- deleted the list --

(ck=f83)

if this isnt a nUI bug, let me know, and I'll repost my addon list...

ok there is a taint from another addon, that blocks your message about nUI not being able to create a focus, I'll figure it out later....

So on a side note I can manually set focus, and that persons image then replaces the minimap in the center, how do I reset it back to the minimap then? - any Ideas?

Talyrius 09-12-11 12:26 AM

This has been asked a million times. Any addon that replaces the default unit frames will prevent focus and dismiss pet from being usable with the right click menu.

Dridzt 09-12-11 03:46 AM

Quote:

Originally Posted by Blanckaert (Post 244555)
So on a side note I can manually set focus, and that persons image then replaces the minimap in the center, how do I reset it back to the minimap then? - any Ideas?

Manually clearing focus:
1. Hit the focus target keybind with no target selected.
or
2. /clearfocus in a macro or typed at the console.


All times are GMT -6. The time now is 04:51 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI