View Single Post
12-02-15, 05:24 AM   #1
jostor
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Nov 2011
Posts: 10
SetPoint() causing taint

Hello there, I'm having a problem with my addon causing a taint. I know in many cases the taint don't come from the addon that is "blamed" for it, but according to the person reporting it (I can't reproduce it myself) it occurs with only my addon and the default UI.

I am using the function SetPoint like for example this:

Code:
frame:SetPoint("TOPLEFT", config, 10, -28)
Where the frame is either a frame created by CreateFrame with types like "Check Button", "Button" (a dropdown) and "EditBox", or a text created with frame:CreateFontString().

All this is done in a function called as a result of PLAYER_LOGIN firing, I also tried with ADDON_LOADED and the same error is happening.

I know these taints are tricky and sometimes hard to figure out, but after trying a lot I simply can't figure out why it would happen in this case. Any ideas? What could I be doing wrong?
  Reply With Quote