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] Timer text does not hide properly on meta icons #1914

Closed f4ndor closed 3 years ago

f4ndor commented 3 years ago

What version of TellMeWhen are you using? 9.1.0 Retail

What steps will reproduce the problem?

  1. Create meta icon and 2 separate icons for the same buff ( for example Soul fragment )
  2. Set one of the icons ( ICON-A ) to show timer with text and max duration to 10
  3. Set the other icon ( ICON-B ) to show timer but no text and min duration to 10
  4. Add the 2 icons to the meta icon, ICON-A first, then ICON-B

What do you expect to happen? What happens instead?

My goal is to show the timer text only below a certain duration threshold. The timer appears but when the duration refreshes, instead of hiding, it remains visible, and finishes the countdown.

Screenshots and Export Strings Meta icon:

^1^T^SShowTimer^B ^SType^Smeta ^SIcons^T ^N1^STMW:icon:1X5Hmrqs_uy3 ^N2^STMW:icon:1X5Hmrqu8oaz ^N3^STMW:icon:1X5HmrqvI3ej ^t^SName^S356043;~`356042 ^SShowTimerText^B ^SEnabled^B ^t^N91000^S~`~| ^Sicon^^

^1 ^T^SShowTimer^B ^SType^Sbuff ^SName^S356043 ^SEnabled^B ^SGUID^STMW:icon:1X5Hmrqs_uy3 ^SInvertTimer^B ^SShowTimerText^B ^SEvents^T ^N1^T ^SAnimColor^Sb4ff7d00 ^SType^SAnimations ^SAnimation^SACTVTNGLOW ^SEvent^SOnShow ^SInfinite^B ^SOnConditionConditions^T ^N1^T ^SType^SBUFFDUR ^SOperator^S~|= ^SName^S356043 ^t^Sn^N1 ^t^t^N2^T ^SType^SAnimations ^SAnimation^SICONCLEAR ^SEvent^SOnHide ^t^Sn^N2 ^t^SSettingsPerView^T ^Sicon^T ^STexts^T ^N2^S ^t^t^t^t^N91000^S~`~| ^Sicon^^

^1 ^T^SShowTimer^B ^SType^Sbuff ^SConditions^T ^N1^T ^SType^SBUFFDUR ^SOperator^S<= ^SLevel^N10 ^SName^S356042 ^t^Sn^N1 ^t^SShowTimerText^B ^SStackMin^N7 ^SDurationMin^N10 ^SEnabled^B ^SGUID^STMW:icon:1X5Hmrqu8oaz ^SEvents^T ^N1^T ^SAnimColor^Sddff0000 ^SType^SAnimations ^SAnimation^SICONBORDER ^SEvent^SOnShow ^SInfinite^B ^t^Sn^N1 ^t^SSettingsPerView^T ^Sicon^T ^STextLayout^Sicon1 ^STexts^T ^N1^S ^t^t^t^SName^S356042 ^SCustomTex^S71749 ^SStates^T ^N101^T ^SAlpha^N0.8 ^t^t^SDurationMax^N10 ^t^N91000^S~`~| ^Sicon^^

^1 ^T^SShowTimer^B ^SStackMinEnabled^B ^SType^Sbuff ^SName^S356042 ^SStackMin^N7 ^SGUID^STMW:icon:1X5HmrqvI3ej ^SDurationMinEnabled^B ^SDurationMin^N10 ^SEnabled^B ^SEvents^T ^N1^T ^SAnimColor^Sfffb00ff ^SType^SAnimations ^SPeriod^N0 ^SAnimation^SICONBORDER ^SEvent^SWCSP ^SOnConditionConditions^T ^N1^T ^SType^SBUFFSTACKS ^SOperator^S>= ^SLevel^N12 ^SName^SSoul~`Fragment ^t^Sn^N1 ^t^t^Sn^N1 ^t^SSettingsPerView^T ^Sicon^T ^STextLayout^Sicon1 ^STexts^T ^N1^S ^N2^S[Stacks:Hide(0)] ^t^t^t^SCustomTex^S278232 ^SStates^T ^N101^T ^SAlpha^N0.7 ^t^t^t^N91000^S~`~| ^Sicon^^

Additional Info

Here is a recording: recording The buff is the "Soul Fragment"