WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Legion Beta archived threads (https://www.wowinterface.com/forums/forumdisplay.php?f=177)
-   -   Click-type bindings do not fire when a 3D spell targeting cursor is active (https://www.wowinterface.com/forums/showthread.php?t=54008)

Nevcairiel 07-24-16 11:41 AM

Click-type bindings do not fire when a 3D spell targeting cursor is active
 
Hey,

easy to reproduce:
1) Get a class with a 3D targeting spell (Warrior with Heroic Leap, Resto Druid with Efflorescense, etc)
2) Put it on an action button (say, 2), and any other spell on Button 1
3) Run: SetBindingClick("1", "ActionButton1", "LeftButton") (This will re-bind key 1 to perform a Click on ActionButton1)
4) Click the action button with the 3D targeting spell, but do not place it, keep it on the cursor
5) Try to cast the spell on action button 1 via keyboard hotkeys

Result: nothing happens.
If you try to cast a spell from any other button which was not re-bound to a "Click" binding, it works fine, as in it cancels the targeting cursor and casts the new spell.

The problem is that "Click" bindings are the only bindings we can create for custom action buttons, as we cannot write secure binding wrappers ourselves to do anything else. So any custom action buttons will intrinsically behave differently with 3D targeted spells then any other base UI action button. I consider this a bug.

Unfortunately this is quite a serious bug or limitation for full action button replacement addons like Bartender4, so having this issue resolved would be brilliant.

This worked fine in 6.x, for what its worth.

panker 07-25-16 11:29 AM

Code:

/use flare
/click ActionButton1

That won't work either :P

It seems all mouse actions (hovering, clicking) with the interface is disabled when a 3D spell is targeting.
Even the virtual kind (SetBindingClick, /click).

Smells like they wanted to prevent people accidentally clicking the UI when targeting (I know I used to have this problem... until I setup a keybind for CAMERAORSELECTORMOVE).

Virtual clicks being disabled was probably an oversight, though :P

Nevcairiel 07-25-16 12:16 PM

TheDan fixed this issue for an upcoming patch in the game, unfortunately that means we have to wait until the next actual patch. Maybe they'll be able to add a work-around for the short-term, but no conclusive info on that is available yet.

Nevcairiel 07-28-16 04:39 AM

This is fixed in Beta build 22306. Thanks!


All times are GMT -6. The time now is 02:36 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI