2x [ADDON_ACTION_FORBIDDEN] AddOn 'Leatrix_Maps' tried to call the protected function 'UseAction()'.
MiLeX84 opened this issue · 8 comments
2x [ADDON_ACTION_FORBIDDEN] AddOn 'Leatrix_Maps' tried to call the protected function 'UseAction()'.
[string "@Interface/AddOns/!BugGrabber/BugGrabber.lua"]:480: in function <Interface/AddOns/!BugGrabber/BugGrabber.lua:480>
[string "=[C]"]: in function UseAction' [string "@Interface/FrameXML/SecureTemplates.lua"]:364: in function
handler'
[string "@Interface/FrameXML/SecureTemplates.lua"]:690: in function <Interface/FrameXML/SecureTemplates.lua:672>
[string "@Interface/FrameXML/SecureTemplates.lua"]:704: in function <Interface/FrameXML/SecureTemplates.lua:697>
[string "@Interface/FrameXML/SecureTemplates.lua"]:746: in function SecureActionButton_OnClick' [string "@Interface/FrameXML/ActionButton.lua"]:109: in function
TryUseActionButton'
[string "@Interface/FrameXML/ActionButton.lua"]:144: in function `ActionButtonDown'
[string "ACTIONBUTTON7"]:2: in function <[string "ACTIONBUTTON7"]:1>
Installed Version: Leatrix_Maps-10.0.01.zip
The issue with needing to replace Blizzard's GetCursorPosition function for scaling to work is referenced here:
Stanzilla/WoWUIBugs#338
For context, this happened a few times over the last few days, happening right after entering a dungeon, e.g. Sethekk Halls (this time) or after queuing for the Headless Horsemen event. Not happening every time, about once or twice a day.
Couple of things to note:
This sort of error is more likely to occur if you use or have used any of the zoom settings during your current login session (remember zoom level, increase zoom level, center map on player and scale the map). Do you use any of these options?
It's also more likely to occur if you click anything in the objective tracker especially during combat.
Reloading your UI will clear this error from memory temporarily.
Disabling the map scale makes me sad, i used to love how its not on my whole screen. Was that actually causing errors? I didnt saw any while i was using it.
With map scale enabled:
- Open the map with M.
- Hold shift and click a quest on the map 4 times to toggle tracking on that quest 4 times.
- Open Edit Mode (right-click General chat tab).
- Close Edit Mode with the cross-box.
- Block taint occurs 100% of the time and this will have repercussions elsewhere in the UI which may not be obvious to you. It does not occur without map scale. There are other ways of producing this taint.
On first glance, it seems to be fixed in 10.0.2.46479 (release candidate).
And on second glance, map scaling still causes issues due to the need to replace Blizzard's GetCursorPosition function.
- Enter combat.
- Open the map with M.
- Hold shift and click a quest icon on the map 4 times to toggle tracking on that quest 4 times.
- If the quest is not showing in the objective tracker, toggle tracking on it again to make it show up.
- Click the quest in the objective tracker.
- Open Edit Mode (right-click General chat tab).
- Close Edit Mode with the cross-box.
- The game shows an error regarding Edit Mode. This will have repercussions. For instance, clicking on further quests in the objective tracker, opening or closing the map or even doing nothing at all can show a Lua error until the UI is reloaded.
- The other zoom settings cause similar issues with Edit Mode due to the need to set Blizzard's map variables.