Blacklisted frames are still registered for clicks and do not ignore mouse input
PatTheMav opened this issue ยท 0 comments
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
- Install Azerite UI
- Install Clicked
- Enter the game with a class that has a "class power" (such as combo points or chi)
- 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)
- Add the frame
AzeriteUnitFramePlayerClassPower
to the Frame Blacklist - Observe the issue persists
Last Working Version
N/A
Screenshots
No response
Debug Output
No response