ascott18 / TellMeWhen

TellMeWhen is a combat tracking AddOn for World of Warcraft Retail and Classic
https://wow.curseforge.com/projects/tellmewhen
GNU General Public License v3.0
86 stars 11 forks source link

Bug: Ghoul tracker icon blings when the ghoul despawns #2019

Closed AddonWhiner closed 1 year ago

AddonWhiner commented 1 year ago

WoW Version

Retail

TellMeWhen Version

10.0.2

Describe the bug

I have this icon:

image

It is used for a meta icon. The bar is hidden (and I've set the icon itself to Always Hide to no avail). The issue is that when my ghoul despawns, I get this bling effect in the same place as that icon:

image

Disable Blizzard cooldown finish pulse was already checked, so that didn't help either. Anyway, this happens for no other icon, not even the visible ones. Alwies and I theorize that it may have to do with the ghoul technically being a totem. For clarity, I am having this issue as Blood. I don't know what happens for the other specs.

Export Strings

^1^T^SShowTimer^B ^SUnit^S ^SType^Stotem ^SSourceUnit^Splayer ^SCLEUDur^N60 ^SName^SRaise~`Dead ^SGUID^STMW:icon:1X3C4wSyJcuY ^SShowTimerTextnoOCC^B ^SCLEUEvents^T ^SSPELL_CAST_SUCCESS^B ^t^SFakeHidden^B ^SOnlyIfCounting^B ^SEnabled^B ^t^N100200^S~`~| ^Sicon^^
ascott18 commented 1 year ago

Yeah, its because the totem API in wow is one of the oldest and worst things in wow addon dev. Most things that expire will go away as soon as they expire (e.g. a cooldown is ready the moment it finishes, so a cooldown icon that's hidden when the ability is ready will never show the flash).

This is not the case for totems. Totems keep existing for a short while after their timer ends.

I'll just change the icon type to immediately treat an expired totem as gone, even though it technically keeps existing for a short while after. I guess if people end up not liking that, I can add that behavior as a setting.