Focus Target error #656


  • Declined
Closed
  • sharfus created this issue Apr 6, 2019

    What version of Grid2 are you using?   

    r872

     

    What game client version (windows or mac) and language are you using ? 

    Windows

     

    What steps will reproduce the problem?

    A multi addon issue has shown up which affects Grid2 r872. When attempting to focus target using the dropdown menu from a Grid2 icon (player or target) an error occurs "Grid2 has been blocked from an action only available to the Blizzard UI." with the std disable ignore box. From this point on you can then no longer focus target, even from the standard WoW player or target icons (normally at the top of the UI). This occurred on two computers with only the one addon loaded.

     

      
    Did you try having Grid2 as the only enabled addon and everything else disabled?

     Yes

     

    Was it working in a previous version? If yes, which was the last good one?  It did ages ago when I experimented, but have not used Grid/Grid2 for a LONG time.

      

    Do you have an error log of what happened? If you don't see any errors, make sure that error reporting is enabled (`/console scriptErrors 1`) or install [BugSack](https://mods.curse.com/addons/wow/BugSack).

    1x [ADDON_ACTION_FORBIDDEN] AddOn 'Grid2' tried to call the protected function 'FocusUnit()'.
    !BugGrabber\BugGrabber.lua:519: in function <!BugGrabber\BugGrabber.lua:519>
    [C]: in function `FocusUnit'
    FrameXML\UnitPopup.lua:1856: in function `func'
    FrameXML\UIDropDownMenu.lua:914: in function `UIDropDownMenuButton_OnClick'
    [string "*:OnClick"]:1: in function <[string "*:OnClick"]:1>

      

    Please provide any additional information below.

    Expected results are to be able to focus target from the icon selected, either the addon or normal Blizzard UI with no error, or failing that to still allow the focus to work from the Blizzard Icon.

     

    I suspect Blizzard has not communicated to the addon developers that the function has been protected (I am posting for VuhDo and Healbot as well).

     

     

  • michaelsp posted a comment Apr 6, 2019

    The function has been protected many years ago, simply its not possible to use the menu to focus an unit using a non-blizzard addon.

  • michaelsp closed issue Apr 30, 2019
  • michaelsp added a tag Declined Apr 30, 2019

To post a comment, please login or register a new account.