• 0

    posted a message on Bartender3 - Action Bar AddOn for WoW 2.0
    Quote from silkfire »

    This was asked somewhere in summer 2007 but never got an answer.

    I use Bartender3 with cyCircled and whenever I hover an empty slot on the action bar I see that slot highlighted. Depending on what skin you use you will see different things. I need to know how to turn it off! I've done research and the result was that it has to do with how Bartender handles empty slots.

    Please help?

    In a nutshell: I only want action bar slots with abilities put into them highlighted upon hovering.


    This is related to the bugfix i requested 7 pages ago but has not been done yet...
    The problem is that the empty slots are still 'mouse active' even with nothing in them. Not only will this cause the extra highlight you see, but it makes a dead-zone on the screen where you cant click anything (I have a large bar right in the middle of my screen to put macros/boss specific things on, and without this fix you cant click anything behind this bar even if the buttons are empty)

    Anyway, add these lines:

    Button.lua:
    around line 240,
    function prototype:UpdateButton(force)
    ...
    248:  if ( HasAction(self.action) ) then
           self.frame:EnableMouse(true) -- NEW
          ...
        else
           self.frame:EnableMouse(nil) -- NEW
           ...
        end

    And:
    line 455:
    function prototype:ShowGrid(override)
      local button = self.frame
      button:EnableMouse(true)  -- NEW
      ...
    end
    
    function prototype:HideGrid(override)
      local button = self.frame
      if not override then self.showgrid = self.showgrid-1 end
      if ( self.showgrid == 0 and not HasAction(self.action) ) then
        if ( not self.parent.config.ShowGrid ) then
          button:EnableMouse(nil)  -- NEW
          ...

    This should disable the mouse input over empty buttons when the grid is not shown, which should stop anything reacting to the empty slot, but still allowing you to drag stuff into it when you are out of combat.

    I have been using this for a while and not had any problems (as long as you dont mess during combat)

    If one of the developers can consider adding this maybe... ;)
    Posted in: General AddOns
  • 0

    posted a message on Bartender3 - Action Bar AddOn for WoW 2.0
    Hi,

    Can I request a small bugfix:

    Problem:
    Unused buttons are still intercepting mouse messages so create 'dead patches' on the screen
    I have one enabled but usually empty bar positioned in the middle of my screen. For specific boss fights or quests, if I need easy access to a rarely used spell or item, I like to stick it on one of these so I can click it easily (i.e. the dynamite for Skettis bombing run)
    However, when the button is empty it still stops me clicking anything in the world under the button area.
    The fix for this is:

    Button.lua:
    line 235 (in my version),
    function prototype:UpdateButton(force)
    ...
    243:  if ( HasAction(self.action) ) then
           self.frame:EnableMouse(true) -- NEW
          ...
        else
           self.frame:EnableMouse(nil) -- NEW
           ...
        end

    And:
    line 454:
    function prototype:ShowGrid(override)
      local button = self.frame
      button:EnableMouse(true)  -- NEW
      ...
    end
    
    function prototype:HideGrid(override)
      local button = self.frame
      if not override then self.showgrid = self.showgrid-1 end
      if ( self.showgrid == 0 and not HasAction(self.action) ) then
        if ( not self.parent.config.ShowGrid ) then
          button:EnableMouse(false)  -- NEW
          ...

    This should disable the mouse over empty buttons when the grid is not shown (so you can still drag & drop out of combat)
    Iused it all last night in a raid & did not notice any bad side effects, so if one of the devs. could be nice enough to check I am not doing anything too naughty & if so put it in that would be great,

    Cheers,

    Ozy
    Posted in: General AddOns
  • To post a comment, please or register a new account.