SavedInstances

SavedInstances

11M Downloads

Lua Error when updating backdrop with ElvUI enabled

starcookies opened this issue · 12 comments

commented

28x SavedInstances\SavedInstances-8.1.0.lua:3188: Usage: :SetBackdrop(nil or {bgFile = "bgFile", edgeFile = "edgeFile", tile = false, tileSize = 0, edgeSize = 32, insets = { left = 0, right = 0, top = 0, bottom = 0 }})
[C]: in function `SetBackdrop'
SavedInstances\SavedInstances-8.1.0.lua:3188: in function <SavedInstances\SavedInstances.lua:3184>

Locals:
(*temporary) = {
0 =
regularFont = GameTooltipText {
}
OnRelease = defined @SavedInstances\SavedInstances.lua:4336
headerFont = SavedInstancedTooltipHeaderFont {
}
key = "SavedInstancesTooltip"
scripts =

{
}
SetBackdropBorderColor = defined =[C]:-1
scrollFrame = {
}
anchorframe = LibDBIcon10_SavedInstances {
}
template = "Transparent"
scrollChild = {
}
colspans =
{
}
width = 464.683899
autoHideTimerFrame = {
}
labelProvider =
{
}
lines =
{
}
height = 374.447876
SetBackdropColor = defined =[C]:-1
pixelBorders =
{
}
columns =
{
}
}

commented

Could you try to disable other addons and see if the issue is still there?

commented

I have the same error. with all other addons disabled there is no error. First addon I have activated is the newest Version of ElvUI and then the error occurs.

commented

I reproduce this after upgrading my ElvUI to 11.06. But is it a SavedInstances issue?

@starcookies @mrdoom66 Could you provide your ElvUI version when the first time you meet this issue?

commented

I think it started with ElvUI 11.05. Don´t know if it is a SavedInstances issue.
For sure they changed something in ElvUI cos I used both addons for quite some time without any errors. But unfortunatly I have no knowledge of programming lua addons.
But I can report the error to the ElvUi team. Maybe they can fix something on their side.

commented

I think I find a stable way to reproduce this. Open world map and hover on something opens tooltip, and then try to open SI's tooltip with GameTooltip:GetBackdrop() returning nil.

Simply comment this three lines out will work, but I think further investigation is required to solve this issue completely.

tooltip:SetBackdrop(GameTooltip:GetBackdrop())
tooltip:SetBackdropColor(GameTooltip:GetBackdropColor())
tooltip:SetBackdropBorderColor(GameTooltip:GetBackdropBorderColor())

commented

OK, I will try this. TY

Works. No Errors.

commented

I think it's an AddonSkins issue?

commented

06
I have elvui version 11.06 and shadow and light 3.521. it started happening with the recent update of elvui

commented

Can be dropped for sure

commented

I think it's an AddonSkins issue?

I spoke to them there. Definitely not their coding they say. Claims its a Saved Instances problem.

commented

Hi, you can try latest alpha with temporarily fix for this. @unleeshed

commented

I think this issue has two side. On the one hand, is it possible to drop this code? oscarucb comment that this code is to resolve QTip backdrop issue which was reported in ticket 155, which was added 4 years ago (16c2143), so I think maybe QTip have resolved the issue. But it is no longer possible to access WoWAce Ticket, which was considered to be closed in #63. I wonder if it is possible to access it by someone who is owner or author in the project, so we can find out why this code was added. @Stanzilla @jokeyrhyme

On the other hand, it is only happening when ElvUI is enabled, which makes GameTooltip:GetBackdrop() returning nil. I tired to find out the reason in ElvUI's code but still have no idea about this.