BUG: Double Loot Events (& Empty Loot Window)

Bug Report
This bug occurs very rarely. It may be related to latency or another factor - that is unclear right now. However, it is worth noting that it happens at a significantly higher rate with the Winter Veil present item containers than anywhere else when I was testing.

Example series of events WITHOUT bug:
>0 ms: Beginning
>300 ms: I right-click corpse (or item or object), some related events fire
>500 ms: LOOT_OPENED fires, loot window appears to me with loot in it, addon code runs here
>1500 ms: I decide to close the loot window
>1501 ms: LOOT_CLOSED fires

Example series of events WITH bug:
>0 ms: Beginning
>300 ms: I right-click corpse (or item or object), some related events fire
>500 ms: LOOT_OPENED fires, loot window appears to me (but it is empty!), addon code runs here (since it is empty, many Blizzard functions fail here, in turn causing addon errors)
>700 ms: LOOT_OPENED fires again, loot appears in the window, addon code runs again here (which can cause a lot of problems if addons only expect this to fire once before LOOT_CLOSED)
>1500 ms: I decide to close the loot window
>1501 ms: LOOT_CLOSED fires
>1502 ms: LOOT_CLOSED fires (yes, a second time)

To the average user, nothing really will seem amiss except for a split second (could be extremely small window at low latency) where the window will be blank.

Join the Conversation

Return to Forum