A bug exists in build 15851.That is:
Buffs on the topright are hidden when logging in, until I gains a buff or debuff.
I tested this with freeui, qulightui and my layout,and met the same problem in all of them.
Lua Code:
local HandleFrame = function(baseName)
local frame
if(type(baseName) == 'string') then
frame = _G[baseName]
else
frame = baseName
end
if(frame) then
frame:UnregisterAllEvents()---------buff/debuff work right when delete this line
frame:Hide()
-- Keep frame hidden without causing taint
frame:SetParent(hiddenParent)
local health = frame.healthbar
if(health) then
health:UnregisterAllEvents()
end
local power = frame.manabar
if(power) then
power:UnregisterAllEvents()
end
local spell = frame.spellbar
if(spell) then
spell:UnregisterAllEvents()
end
local altpowerbar = frame.powerBarAlt
if(altpowerbar) then
altpowerbar:UnregisterAllEvents()
end
end
end
Unfortunately, I just found where things are wrong but don't know how to fix it.