Thread Tools Display Modes
Unread 04-25-10, 06:45 PM   #1
A Molten Giant
tinyu's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 816
Set Focus error

I just got this error when trying to assign a focus target

Date: 2010-04-26 10:12:21
ID: 2
Error occured in: AddOn: nUI
Count: 1
Message: Error: AddOn nUI attempted to call a forbidden function (FocusUnit()) from a tainted execution path.
[C]: FocusUnit()
..\FrameXML\UnitPopup.lua:1267: func()
..\FrameXML\UIDropDownMenu.lua:575: UIDropDownMenuButton_OnClick()
[string "*:OnClick"]:1:
[string "*:OnClick"]:1

if this is already known then disregard this thread.

"There's no such thing as too many addons."
Titan Dev Team Member.
tinyu is offline  
Unread 04-25-10, 07:23 PM   #2
A Pyroguard Emberseer
Vis's Avatar
Join Date: Mar 2009
Posts: 1,797
Looks like you tried to set a focus by right clicking the portrait and using the menu. If that's the case, then yes it is known and it affects almost all UI addons from what Ive read. You have to manually set and clear focus by using slash commands.
Vis is offline  
Unread 04-25-10, 08:48 PM   #3
nUI's Author
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
As Vis points out... this is a known Bliz bug that affects all unit frame mods. There's a FAQ, with a workaround, for the problem here:

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.

Official nUI Web Site:
Official nUI Support Forum:
My day job:
spiel2001 is offline  

Go BackWoWInterface » Featured Projects » nUI, MozzFullWorldMap and PartySpotter » Support » nUI: Bug Reports » Set Focus error

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off