WeakAuras

WeakAuras

206M Downloads

TSU: Trigger Update Text Updating For Every Clone Whenever One Updates

aurokin opened this issue ยท 3 comments

commented

Description

With a TSU when I'm using Trigger Update Text, the code runs for every clone even if their part of the state didn't update. For performance reasons I think it would be best if only the clones related to the update reprocessed but I understand if this is a difficult behavior to produce. I'm not sure if its intended but Buds thought it would be worth submitting a ticket.

As a side note if you have text running Every Frame, it runs even if that clone hides that text. I feel like this is probably intended / difficult to change but I thought I would bring it up.

WeakAuras Version

3.7.3

World of Warcraft Flavor

The Burning Crusade

Tested with only WeakAuras

  • Yes
  • No

Lua Error

No Lua Error

Reproduction Steps

https://wago.io/yq1rVnPvX

I outlined the events to reproduce this behavior in the WAGO!

Last Good Version

No response

Screenshots

https://i.imgur.com/NUtIicP.png

Export String

!WA:2!nBvxUTTXw4QOgKyM0ghJ2uG8tVSQiPUTUYoo1oiXxharBjBLRILmfDKlsluhsouCQPgYoZqzlx0xeckYZEjON7tAjKvWbgfDb4h6ciRGodjJStIDFTxbiYZCMZC(578ZWCEt1Dk3P4M3R49lEVPCFX8S(1984yrowpmJtcP5hrOEHSUiHCH2qgUJ8Tv)i8lD7trDjoDyHXrhGOKurw0OlIqRyiKIyqdP4dDJzj70wXIXXoHux(amIJvQb0EPISPGHPDe(xWKlqmrfycqdUeCz4dKV)Wly7rOeU)BZ2mG0LiU0bCCGxJqcvmVv9gZhZcIUHVqeXF4SZUlQtyrs4S9)57YEkTrVTN9UhGyo1sS2ZV2GyoUMsj(JSdzUy2kHbHShNlxU8dtzu2Tdo6Qn)5yedRxjoiqVLprGzPrm2)quSWpKvpsfJCn2EzaOTYYvx9GXg2MHCjX8NFzBjc4r6OnFmXD0Qe3TRUGz0c8EzgSjzF85h6jT0keMta(hlqCJULvZT0TyKoDWm9TICLww3cZf6RPG)HIqNS81fBCTH8yBZK8ex7qBKZoUSWO04kF(8nYpxXfELeRWmkk4PPN6z2P22NjHFLnYzYJqo4ZFukFJmTenPraz)9rmxDRWWabjYK7GcW5F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JtBYThN3wASm)6yQt6i)77ezWRsxzL0sC(FettFDkO6)pgmYkf5Fyl4PP3nWJM)mktMr)mJv5WVgqlTxxMR(4SrjnRPUi8)K3l6JD2bQhDv19U9WzdoEsOl(3FVSHvBNoSkV6Bu(KZ4BuGVh(HbQRluFztj1u5)(

commented

That's because you are creating new states, instead of updating a existing state.

commented

Hi @InfusOnWoW

I apologize I have updated my example, if i'm still misunderstanding something please let me know but it looks like even without replacing the state on Updated but updating it, the trigger update still happens for all parts of the state. https://wago.io/yq1rVnPvX

Even still should replacing one part of the state really trigger and update in every part of the state? I'd love to learn more TSUs are extremely useful and I enjoy using them

commented

There was indeed a bug, which is now fixed.