Thread: Clique/Grid2
View Single Post
08-21-16, 07:55 PM   #4
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Originally Posted by Synchrony View Post
... my action bar ability with the same hotkey will activate.
Binding the same key to two things at the same time is always going to be unreliable. Internally it's likely triggering what's called a "race condition" where two things are told to happen at the same time, but only one thing can actually happen at the same time, so one of the two things happens first -- but since they were supposed to happen simultaneously, there's no rule for determining which one happens first. That's called "undefined behavior" and is partly random, partly determined by the technical implementation of the programming language, and maybe partly determined by the unique properties of your CPU and/or other hardware. It may, for some amount of time under given conditions, seem consistent, but it's never guaranteed, and you can't rely on it staying consistent.

The solution to your particular issue is to just use a mouseover macro on the action button, eg.

/cast [@mouseover,help] [mod:alt,@player] [] Flash Heal

...and delete the duplicate binding in Clique.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote