Rarity is causing BlizzMovePlugin_Rematch to not function (?)
brett1337 opened this issue ยท 5 comments
See here for context: NumyAddon/BlizzMovePlugin_Rematch#1 (comment)
Is it possible to prevent Rarity from stopping rematch from moving?
I don't see any source of taint being caused by Rarity in that log file.
It's probably just another bug in Blizzard's new UI, like all the others that have recently been reported...
Author of BlizzMove, and the BM-Rematch plugin here ๐
TL;DR, I'd suggest closing the issue here, as it's not really Rarity's fault :)
I decided to look into it a bit more; and it seems to be an interesting interaction of
- Rematch removing all hooks, and setting their handlers for MouseDown roughly when the loading screen ends (
SetScript
onPLAYER_ENTERING_WORLD
) - BlizzMove hooking MouseDown when Blizzard_Collections addon loads (
HookScript
)
this usually goes fine, because the Blizzard_Collections addon doesn't load until you open the UI, so Rematch sets up their stuff, and then BlizzMove does their thing afterwards, all good ๐
but then, when Rarity is enabled
- Rarity force loads the Blizzard_Collections addon before
PLAYER_ENTERING_WORLD
- BlizzMove hooks MouseDown (because the addon is loaded; before
PLAYER_ENTERING_WORLD
) - Rematch nukes all hooks, when it finally loads, after
PLAYER_ENTERING_WORLD
which leaves it in an immovable state ๐
to be honest, this is something that's mostly caused by Rematch loading their things at an odd timing, and then nuking all handlers, instead of using HookScript (which is usually fine, since it's their own frames; but it does break plugins like mine)
I'm thinking of creating a workaround to detect and restore BlizzMove's handlers whenever an addon tries to nuke them, to prevent this issue, and similar issues in the future (this is the second time something like this came up; though this time it's a little less straight-forwards ๐)
Here you go, hope this helps.
Uhm, no idea why Rarity should affect those frames in any way. My first guess would be a bug in Blizzard's new UI (wouldn't be the first), possibly related to UI taint? I'll need a taint log to see if that could be a problem.
See #499 for instructions on how to generate a taint log, with only the minimal number of addons enabled if you would :)