Right click menu doesn't work #482


  • New
  • Defect
  • Invalid
Closed
Assigned to michaelsp
  • _ForgeUser3429483 created this issue Sep 14, 2016

    What steps will reproduce the problem?
    Right click a unit

    What is the expected output?
    I would expect to see the menu.

    What do you see instead?
    Nothing happens at all, despite the option to have a right click menu being enabled. (I checked disabled as well, but nothing happens at all)

    What Grid2 version and language of WoW are you using?
    r795
    English

    Do you have an error log of what happened?
    There is no lua error.

    Please provide any additional information below.
    The Bug happens in my full UI but also if Grid2 is the only AddOn that activated.

  • _ForgeUser3429483 added the tags New Defect Sep 14, 2016
  • _ForgeUser3429483 posted a comment Oct 1, 2016

    Because I got no response for quite some time now, I tried to find the issue myself and i found the following workaround:

    In Grid2/GridLayout.lua line 36, replace

    self:SetAttribute("*type1", "target")
    

    with

    self:SetAttribute("type1", "target")
    self:SetAttribute("alt-type1", "menu")
    

    With this you can open the Menu with ALT + LeftClick, while still targeting with normal LeftClick.


    For the author:

    The frame doesn't react to RightClick at all. Even if i change it to something like

    self:SetAttribute("*type2", "target")
    

    nothing will happen at all.


    Edited Oct 1, 2016
  • Forge_User_39305976 posted a comment Jan 4, 2017

    I've found the addon "Clique" can be used as a workaround for now.


    Edited Jan 4, 2017
  • michaelsp closed issue Mar 10, 2017
  • michaelsp added a tag Invalid Mar 10, 2017
  • _ForgeUser394447 posted a comment Aug 6, 2017

    Is there a reason this was closed and marked as invalid?

     

    I'm experiencing the same thing - no reaction to right clicks at all, even when adding debug printing to the code it's not handling right clicks on the frames in any way.

     

    -- 

     

    Update: I fixed this by adding

    frame:RegisterForClicks("AnyUp")

     to

    GridFrame_Init

      - now my right clicks work as expected without requiring another addon as a workaround.


    Edited Aug 6, 2017
  • BujuArena posted a comment Aug 7, 2017

    Thank you, Shotmonkey.

     

    I personally use Clique exclusively for this purpose with a macro that does "/run MouselookStart()" so I can control the camera "through" the grid frames; great for healing and moving.


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