Thread Tools Display Modes
07-24-16, 11:41 AM   #1
Nevcairiel
Premium Member
Premium Member
AddOn Author - Click to view addons
Join Date: Aug 2006
Posts: 63
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.

Last edited by Nevcairiel : 07-24-16 at 12:56 PM.
 
07-25-16, 11:29 AM   #2
panker
A Defias Bandit
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 2
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
 
07-25-16, 12:16 PM   #3
Nevcairiel
Premium Member
Premium Member
AddOn Author - Click to view addons
Join Date: Aug 2006
Posts: 63
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.
 
07-28-16, 04:39 AM   #4
Nevcairiel
Premium Member
Premium Member
AddOn Author - Click to view addons
Join Date: Aug 2006
Posts: 63
This is fixed in Beta build 22306. Thanks!
 
 

WoWInterface » Site Forums » Archived Beta Forums » Legion Beta archived threads » Click-type bindings do not fire when a 3D spell targeting cursor is active

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off