View Single Post
11-12-14, 12:53 PM   #2
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Well, I'd start by making those "media" and "config" variables local, not global. It's not farfetched at all to imagine that some other addon overwrote one or both with (hopefully accidentally leaked) globals by the same name. Same goes for all the variables you set in the event handler. Global "name" is just a disaster waiting to happen.

Other than that, since your frame has SetUserPlaced(true) set on it, I'd check your layout-cache.txt file and make sure there's nothing related to it in there; if the game is trying to manage the frame's position, it will overwrite any position you set in the main chunk of your file.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote