it seems blizzard have decided to block addons from closing ui panels in combat.
-- We no longer allow addons to show or hide UI panels in combat.
local function CheckProtectedFunctionsAllowed()
fine, i dont use the uipanels, or try to close them. what i do do, because its a bag mod, is raw hook (replace) the CloseBag
, and CloseAllBags
, functions so i can stop blizzard from closing them all the time.
unfortunately blizzards internal code when you hit escape calls securecall("CloseAllWindows")
which i presume is calling CloseAllBags
, which taints the execution path (because its now my code not theirs), and as soon as it gets to the bit where it tries to close a uipanel (the map frame for example) it checks and sees the path is tainted and barfs, but at least it barfs nicely, just a text warning, not the blocked popup, but obviously doesnt close the panel.
i cant see a workaround for this? unless i no longer hook the close functions. and im guessing its going to impact every bag mod.
if blizzard are going to lock stuff down then i really wish they add pre/post calls to these things, like theyve done for the tooltips, so we dont need to hook them and we can safely abort the action without causing tainting in the pre call.
11/19 10:03:43.469 Execution tainted by ArkInventory while reading ArkInventory - Interface/AddOns/ArkInventory/Core/ArkInventoryStorage.lua:339 ?()
11/19 10:03:43.469 Interface/AddOns/ArkInventory/Libs/CallBackHandler/CallbackHandler-1.0.lua:119
11/19 10:03:43.469 xpcall()
11/19 10:03:43.469 Interface/AddOns/ArkInventory/Libs/CallBackHandler/CallbackHandler-1.0.lua:29 Dispatch()
11/19 10:03:43.469 Interface/AddOns/ArkInventory/Libs/CallBackHandler/CallbackHandler-1.0.lua:64 Fire()
11/19 10:03:43.469 Interface/AddOns/ArkInventory/Externals/Ace3/AceEvent/AceEvent-3.0.lua:120
11/19 10:03:43.469 Execution tainted by ArkInventory while reading ArkInventory - Interface/AddOns/ArkInventory/Core/ArkInventoryStorage.lua:340 ?()
11/19 10:03:43.469 Interface/AddOns/ArkInventory/Libs/CallBackHandler/CallbackHandler-1.0.lua:119
11/19 10:03:43.469 xpcall()
11/19 10:03:43.469 Interface/AddOns/ArkInventory/Libs/CallBackHandler/CallbackHandler-1.0.lua:29 Dispatch()
11/19 10:03:43.469 Interface/AddOns/ArkInventory/Libs/CallBackHandler/CallbackHandler-1.0.lua:64 Fire()
11/19 10:03:43.469 Interface/AddOns/ArkInventory/Externals/Ace3/AceEvent/AceEvent-3.0.lua:120
11/19 10:03:46.124 Execution tainted by ArkInventory while reading CloseAllBags - Interface/FrameXML/UIParent.lua:3372
11/19 10:03:46.124 securecall()
11/19 10:03:46.124 Interface/FrameXML/UIParent.lua:4022 ToggleGameMenu()
11/19 10:03:46.124 TOGGLEGAMEMENU:1
11/19 10:03:46.124 Execution tainted by ArkInventory while reading CloseBag - Interface/FrameXML/ContainerFrame.lua:1977
11/19 10:03:46.124 Interface/FrameXML/UIParent.lua:3372
11/19 10:03:46.124 securecall()
11/19 10:03:46.124 Interface/FrameXML/UIParent.lua:4022 ToggleGameMenu()
11/19 10:03:46.124 TOGGLEGAMEMENU:1
11/19 10:03:46.124 Execution tainted by ArkInventory while reading CloseBag - Interface/FrameXML/ContainerFrame.lua:1977
11/19 10:03:46.124 Interface/FrameXML/UIParent.lua:3372
11/19 10:03:46.124 securecall()
11/19 10:03:46.124 Interface/FrameXML/UIParent.lua:4022 ToggleGameMenu()
11/19 10:03:46.124 TOGGLEGAMEMENU:1
11/19 10:03:46.124 Execution tainted by ArkInventory while reading CloseBag - Interface/FrameXML/ContainerFrame.lua:1977
11/19 10:03:46.124 Interface/FrameXML/UIParent.lua:3372
11/19 10:03:46.124 securecall()
11/19 10:03:46.124 Interface/FrameXML/UIParent.lua:4022 ToggleGameMenu()
11/19 10:03:46.124 TOGGLEGAMEMENU:1
11/19 10:03:46.124 Execution tainted by ArkInventory while reading CloseBag - Interface/FrameXML/ContainerFrame.lua:1977
11/19 10:03:46.124 Interface/FrameXML/UIParent.lua:3372
11/19 10:03:46.124 securecall()
11/19 10:03:46.124 Interface/FrameXML/UIParent.lua:4022 ToggleGameMenu()
11/19 10:03:46.124 TOGGLEGAMEMENU:1
11/19 10:03:46.124 Execution tainted by ArkInventory while reading CloseBag - Interface/FrameXML/ContainerFrame.lua:1977
11/19 10:03:46.124 Interface/FrameXML/UIParent.lua:3372
11/19 10:03:46.124 securecall()
11/19 10:03:46.124 Interface/FrameXML/UIParent.lua:4022 ToggleGameMenu()
11/19 10:03:46.124 TOGGLEGAMEMENU:1
11/19 10:03:46.124 Execution tainted by ArkInventory while reading INTERFACE_ACTION_BLOCKED_SHOWN - Interface/FrameXML/UIParent.lua:5234 DisplayInterfaceActionBlockedMessage()
11/19 10:03:46.124 Interface/FrameXML/UIParent.lua:3131 CheckProtectedFunctionsAllowed()
11/19 10:03:46.124 Interface/FrameXML/UIParent.lua:3167 HideUIPanel()
11/19 10:03:46.124 Interface/FrameXML/UIParent.lua:3335 CloseWindows()
11/19 10:03:46.124 Interface/FrameXML/UIParent.lua:3373
11/19 10:03:46.124 securecall()
11/19 10:03:46.124 Interface/FrameXML/UIParent.lua:4022 ToggleGameMenu()
11/19 10:03:46.124 TOGGLEGAMEMENU:1