Clicked

Clicked

294k Downloads

Blacklisted frames are still registered for clicks and do not ignore mouse input

PatTheMav opened this issue ยท 0 comments

commented

Describe the bug

Hidden unit frames created via oUF will react to mouse input even if they have been added to the frame blacklist.

This can lead to situations like in AzeriteUI where the "player class power" display (combo points et al) is implemented as a oUF frame that has EnableMouse set to false.

With Clicked enabled, this frame becomes interactive again, interfering in combat (as any clicks on the transparent area of the frame will target the player or open the player context menu).

I would have naively expected that adding a frame to the blacklist would also prevent it from having mouse interaction enabled for it (which - due to the way its implemented in Clicked - will ignore the EnableMouse setting).

Clicked Version

Clicked 1.16.4

World of Warcraft Flavor

Retail

Tried with only Clicked enabled

  • Yes
  • No

Lua Errors

No response

Reproduction Steps

  1. Install Azerite UI
  2. Install Clicked
  3. Enter the game with a class that has a "class power" (such as combo points or chi)
  4. Observe that there is a transparent area to the left of the player model that reacts to mouse interaction (highlights the player on mouse-over, selects player on left-click, opens player context menu on right-click)
  5. Add the frame AzeriteUnitFramePlayerClassPower to the Frame Blacklist
  6. Observe the issue persists

Last Working Version

N/A

Screenshots

No response

Debug Output

No response