Stanzilla / WoWUIBugs

World of Warcraft UI Bug Tracker
166 stars 7 forks source link

SetPropagateKeyboardInput is treated as protected function on first call in combat #451

Closed seblindfors closed 1 year ago

seblindfors commented 1 year ago

Minimal reproducible example: 1) Enter combat 2) /run UIParent:SetPropagateKeyboardInput(true)

ADDON_ACTION_BLOCKED is only triggered on the first call. After that, setting propagation works normally. This seems to only affect the Classic forks. It does not matter whether the frame is protected or not.

Affects:

Does NOT affect:

seblindfors commented 1 year ago

This seems to be an intended change to prevent selective propagation in combat. My guess is to counteract automation that could work by key spam and using an insecure frame with selective propagation to eat key bindings.