sylvanaar / wow-instant-messenger

WIM (WoW Instant Messenger) is a World of Warcraft addon which brings an instant messenger feel to communication in game.
https://www.curseforge.com/wow/addons/wim-3
MIT License
12 stars 14 forks source link

Switching tabs sometimes results in error #5

Open sundermann opened 4 years ago

sundermann commented 4 years ago

Sometimes when switching tabs of a conversation WIM breaks. I cannot really reproduce it consistently but it seems like it might have something to do with switching between a conversation from battlenet with ingame whispers (but it might also be unrelated). Once this bug occurs it is no longer possible to switch tabs:

Message: Interface\AddOns\WIM\Sources\TabHandler.lua:488: Action[SetPoint] failed because[SetPoint would result in anchor family connection]: attempted from: WIM3_msgFrame2:SetPoint. Time: Fri Dec 13 17:22:56 2019 Count: 1 Stack: Interface\AddOns\WIM\Sources\TabHandler.lua:488: Action[SetPoint] failed because[SetPoint would result in anchor family connection]: attempted from: WIM3_msgFrame2:SetPoint.

C: in function SetPoint' Interface\AddOns\WIM\Sources\TabHandler.lua:488: in functionJumpToTab' Interface\AddOns\WIM\Sources\TabHandler.lua:334: in function <Interface\AddOns\WIM\Sources\TabHandler.lua:329>

Locals:

sundermann commented 3 years ago

It seems this can be fixed by replacing WindowParentwith UIParent in TabHandler.lua.