View Single Post
05-22-11, 01:56 PM   #5
Vlad
A Molten Giant
 
Vlad's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2005
Posts: 793
Originally Posted by Torhal View Post
This is a problem with DropDownMenus and any UnitFrame AddOn (even Blizzard's own UnitFrames).

Since so many AddOns use DropDownMenus, and the buttons for the menus are recycled between uses, the DropDownMenus become tainted - and since the (non-secure) focus button calls FocusUnit(), which is a protection function, the tainted execution path produces the error.

There is no fix for this - Blizzard needs to overhaul either the DropDownMenus to prevent the taint or make the FocusUnit() function non-protected (which isn't going to happen). The only alternative is to target something and type "/focus"
My mistake, I meant to say what Torhal just did. Another common problem is the world markers as the API is protected and no secure handlers to allow you and use them, since the dropdown menu is a recycled frame addons eventually taint it and you gotta /reload the UI to use markers once more -annoying idd.