I'm seeing taint/error spam on Retail 12.0.5 with ConsolePort_Bar enabled.
ConsolePort_Bar hides OverrideActionBar in ConsolePort_Bar/Controller/Blizzard/Retail.lua, but the child buttons OverrideActionBarButton1 through OverrideActionBarButton6 still seem to remain registered and receive Blizzard action button updates. In my case, this was repeatedly hitting OverrideActionBarButton2Cooldown.
Example error:
...Blizzard_ActionBar/Shared/ActionButton.lua:847: bad argument #1 to 'SetCooldown'
(Usage: self:SetCooldown(start, duration [, modRate]).
Secret values are only allowed during untainted execution for this argument.)
[Blizzard_ActionBar/Shared/ActionButton.lua]:866: in function 'ActionButton_ApplyCooldown'
[Blizzard_ActionBar/Shared/ActionButton.lua]:842: in function 'ActionButton_UpdateCooldown'
[Blizzard_ActionBar/Shared/ActionButton.lua]:571: in function 'Update'
[Blizzard_ActionBar/Shared/ActionButton.lua]:544: in function 'UpdateAction'
[Blizzard_ActionBar/Shared/ActionButton.lua]:975: in function 'OnEvent'
Locals:
cooldown=OverrideActionBarButton2Cooldown
start=<no value>
duration=<no value>
enable=true
modRate=<no value>
I also saw this earlier in the same session:
[ADDON_ACTION_BLOCKED] AddOn 'ConsolePort_Bar' tried to call the protected function 'OverrideActionBarButton2:SetAttribute()'.
This looks separate from #179. That issue had the same SetCooldown cascade, but from MICRO_BUTTONS causing toolbar initialization to abort. This one still happens after that path is no longer the problem, and the affected cooldown frame is specifically OverrideActionBarButton2Cooldown.
The relevant bit in Retail.lua currently hides the override bar frame:
OverrideActionBar = true;
but unlike the main bar and multibars, it does not also call hideActionButton() on the actual override buttons.
This local patch stopped the errors for me after reload:
for i = 1, 6 do
hideActionButton(_G['OverrideActionBarButton' .. i])
end
I added it right after the HUD frame hiding loop in env.UIHandler:HideBlizzard().
Environment:
- WoW Retail 12.0.5.67314
- ConsolePort 3.1.38
- ConsolePort_Bar enabled
I don't know if there are other side effects to hiding those buttons this way, but it matches how the file already handles ActionButton1..12 and the multibar buttons.
I'm seeing taint/error spam on Retail 12.0.5 with ConsolePort_Bar enabled.
ConsolePort_Bar hides
OverrideActionBarinConsolePort_Bar/Controller/Blizzard/Retail.lua, but the child buttonsOverrideActionBarButton1throughOverrideActionBarButton6still seem to remain registered and receive Blizzard action button updates. In my case, this was repeatedly hittingOverrideActionBarButton2Cooldown.Example error:
I also saw this earlier in the same session:
This looks separate from #179. That issue had the same
SetCooldowncascade, but fromMICRO_BUTTONScausing toolbar initialization to abort. This one still happens after that path is no longer the problem, and the affected cooldown frame is specificallyOverrideActionBarButton2Cooldown.The relevant bit in
Retail.luacurrently hides the override bar frame:but unlike the main bar and multibars, it does not also call
hideActionButton()on the actual override buttons.This local patch stopped the errors for me after reload:
I added it right after the HUD frame hiding loop in
env.UIHandler:HideBlizzard().Environment:
I don't know if there are other side effects to hiding those buttons this way, but it matches how the file already handles
ActionButton1..12and the multibar buttons.