UI Error - (Compact Raid Frame)
Code:
Message: CreateFrame: Can't create protected 'Button' now It looks like its just the default Blizzard Raid frames erroring. I have tried deleting the Blizzard CompactRaidFrames.lua file and letting blizzard create a new one. Still same errors. |
Blizzard's CompactRaidFrames are probably the worst code they have ever included in the WoW UI. It's even worse than the UIDropDownMenu.
Technically the problem you're seeing is caused by addons -- because taint cannot occur if no addons are present -- but realistically, it's likely that none of your addons are actually doing anything wrong, and something somewhere just touched a variable that, 1500 indirect links in some nebulous chain of unrelated actions later, the CompactRaidFrames decided was tainted. If the errors don't noticably break anything, just ignore them. Install BugSack so they don't pop up and annoy you. If you can consistently reproduce the problem (eg. it happens every time you enter combat, or something like that) then you could try narrowing it down: 1. Enable half of your addons, disable the other half, and log in. 3. If the problem does not occur, log out, disable all enabled addons, and enable the other half. 4. If the problem does occur, log out, disable half of the enabled addons, and log in. 5. Repeat until you have narrowed it down to 1 addon that causes the problem. |
I know this is an old thread but for those searching this error:
http://us.battle.net/wow/en/forum/to...1970?page=1#15 To reproduce: Quote:
|
Oh, so that's the taint bug with InterfaceOptions_AddToCategory. Well, I guess I can stop telling myself I should get around to looking into why I get so many "omg an addon tainted the compact raid frames you're not even using!" errors in BugSack. :rolleyes:
|
Wish Blizzard didn't have optionphobia and added in an option to not load their raid frames.
|
I wonder if something like this would solve all the problems (for people not using the Blizzard raid frames)?
Code:
CompactRaidFrameContainer:UnregisterAllEvents() |
Quote:
Not sure why entering/leaving Interface Options causes the Raid Frames to load, but it's a good way to test code functionality. |
The only "solution" I found to deal with this abject stupidity was to code !BugGrabber to ignore blocked actions on CompactRaidFrame*
The upside of that is that when errors Fatality in BugSack, they're real problems; the downside is realizing how many addons have issues in 5.2, which are irregularly related to what appears to be timing issues with the server. I'm starting to expect the next expansion to be "Attack of the Interns" where our daily quest is to debug blizzard's code. |
Quote:
Code:
local function HideSafely(f) if not InCombatLockdown() then f:Hide() end Code:
local combatHider = CreateFrame("Frame") Quote:
|
Hmm, now that you mention that: somebody must have already coded a "hide and destroy/keep dead the raid frames" thing? I wonder how my unit frames do it...
Code:
--Disable the creation of blizz CompactRaidFrameX, theres an issue with taint due to dropdown with more 7 items |
Why you people hating on the blizzard raid frames so much their simply amazing. Never cause an issue or anything until you try to do something completely unrelated to the raid frames and then you spend the next 4 weeks debug perfectly fine code only to see what's really going on and then you go, "aww"
Quote:
|
Quote:
|
Quote:
218 addon Phanx? really? I only use..... 2 (yes there are more addon in my UI download than what I actually use, lmao) |
1 Attachment(s)
Quote:
Quote:
Quote:
(For anyone looking at this list and thinking "ooh, PhanxBorder sounds really neat", please don't PM me asking about any addons marked as PRIVATE. They're not published and I have no plans to publish them. PMing me isn't going to change my mind. Go write your own.) |
Quote:
Code:
1x Blizzard_CompactUnitFrameProfiles.lua:462: Usage: GetRaidProfileOption("profile", "optionName") So, as is the style of X-Perl, it appears to work, but isn't very refined. I've just been using it for so long now (Nymbia's Perl before X-) that I don't even want to bother with anything else. |
Hmm... what if you disabled the Raid Profiles panel in the Interface Options window so it couldn't be clicked?
Code:
local buttons = InterfaceOptionsFrameCategories.buttons |
Quote:
Do you want me to try that? |
The solution Leatrix posted is cleaner, but I've been running a mini-addon with your solution + that code I posted disabling the Raid Profiles panel from being clicked, and haven't seen any of the usual taint errors in BugSack.
Edit: Since Leatrix has deleted his entire forum posting history for some (annoying) reason, here is the code he had posted to resolve the issue discussed in this thread by removing the Cancel button from the Interface Options window: Code:
-- Remove the cancel button |
Quote:
|
Quote:
|
All times are GMT -6. The time now is 05:33 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI