Page 1 of 2

Switching Focus on Hoykey, seeing weird keydown behavior.

PostPosted: Fri Aug 24, 2018 1:31 pm
by MadMilitia
I have a macro in WoW Quick Setup 42

/dismount [mod:alt, mod:shift]
/cast [nomounted, mod:ctrl] Azure Water Strider
!if( character is in "Shadow") /cast [nomounted, mod:alt, nomod:shift] Steelbound Devourer
!if( character is in "Shadow") /cast [nomounted, mod:shift, nomod:alt] Red Flying Cloud

!if( character is in "Beast") /cast [nomounted, mod:alt, nomod:shift] Vicious War Wolf
!if( character is in "Beast") /cast [nomounted, mod:shift, nomod:alt] Red Flying Cloud


!if( character is in "Druids") /cast [nomounted, mod:alt, nomod:shift, noform:3] Travel Form
!if( character is in "Druids") /cast [nomounted, mod:shift, nomod:alt, noform:3] Flight Form

I have noticed that when I swap using my CTRL + F1-6 (team slot swapping) somehow CTRL remains down randomly. So they mount strider instead of the chosen mount.

I only figured this out by broadcasting a key up and key down on them to clear the CTRL down event. Once I do that the mount bug goes away.

Any solutions to this issue? Thanks!

Re: Switching Focus on Hoykey, seeing weird keydown behavior.

PostPosted: Fri Aug 24, 2018 4:21 pm
by MiRai
If you slot-swap Hotkeys are set to be global, then you might try un-checking that option to see if it changes anything.

Re: Switching Focus on Hoykey, seeing weird keydown behavior.

PostPosted: Fri Aug 24, 2018 4:27 pm
by MadMilitia
MiRai wrote:If you slot-swap Hotkeys are set to be global, then you might try un-checking that option to see if it changes anything.


Unfortunately that didn't work for me.

Re: Switching Focus on Hoykey, seeing weird keydown behavior.

PostPosted: Wed Oct 31, 2018 1:27 pm
by MadMilitia
I just can't unsee this issue. It happens on all of my keybinds that involve a modifier and a broadcast event.

CTRL/ALT/SHIFT keydown + X: broadcast
CTRL/ALT/SHIFT keyup + X: end broadcast

CTRL/ALT/SHIFT is still in keydown state on slaves broadcasted to. Has it always been this way? Specifically in keymaps? I'm not convinced that it's a new issue.

I have to broadcast keyup events to slaves to clear their keydown states. Is there something in IsBoxer that issues keyup events to slaves when a window loses focus? I checked for the keystroke command on slot changes but that didn't clear the keydown unfortunately.

Re: Switching Focus on Hoykey, seeing weird keydown behavior.

PostPosted: Wed Oct 31, 2018 2:38 pm
by lax
If you slot-swap Hotkeys are set to be global, then you might try un-checking that option to see if it changes anything.



Unfortunately that didn't work for me.

You likely have to close and re-launch your Character Set after changing this setting.




It would really help to see your configuration. http://isboxer.com/wiki/Configuration_Sharing

CTRL/ALT/SHIFT is still in keydown state on slaves broadcasted to. Has it always been this way? Specifically in keymaps? I'm not convinced that it's a new issue.

It has been the way it is right now for a long time, yes. The issue you're running into depends on your configuration (that's the only "new" thing involved here). Obviously you are running into behavior that is incorrect, and yes, if possible I would prefer to correct the problem at its source instead of having you work around the problem.

I have to broadcast keyup events to slaves to clear their keydown states.

That is not something normal to have to do. ISBoxer doesn't even provide a way for you to "broadcast keyup events", this is something that occurs internally within ISBoxer.

Is there something in IsBoxer that issues keyup events to slaves when a window loses focus?

Inner Space does that automatically.

I have noticed that when I swap using my CTRL + F1-6 (team slot swapping) somehow CTRL remains down randomly. So they mount strider instead of the chosen mount.

I only figured this out by broadcasting a key up and key down on them to clear the CTRL down event. Once I do that the mount bug goes away.

How are you executing this macro? Are you using a Named WoW Macro Action? The proper modifiers for the key combo should already be enforced by Inner Space.

Re: Switching Focus on Hoykey, seeing weird keydown behavior.

PostPosted: Wed Oct 31, 2018 3:33 pm
by MadMilitia
[cut pointless quoting]

Hey Lax, I split it in 6 pastebin urls. It was too much to put into one. One of the things I really dislike about this method (maybe email would be better?)

1: https://pastebin.com/raw/Lis7pM8f
2: https://pastebin.com/raw/gmRN05NJ
3: https://pastebin.com/raw/kxuNFcrm
4: https://pastebin.com/raw/jTqAbHZ5
5: https://pastebin.com/raw/K0NhRtZy
6: https://pastebin.com/raw/byqukd7L

Anyway the order is there in the urls.

So if Innerspace automatically handles the keyup events when a window focus changes something is definitely broken. I cannot say how long this issue has existed in my profile as I suspect it's been around for years and I just didn't notice until I changed my keybinds.

Thanks!

/e BOB
Recombined profile and just uploaded as an attachment.
madmilitia.xml
my profile
(876.04 KiB) Downloaded 399 times

Re: Switching Focus on Hoykey, seeing weird keydown behavior.

PostPosted: Wed Oct 31, 2018 5:05 pm
by MiRai
MadMilitia wrote:Hey Lax, I split it in 6 pastebin urls. It was too much to put into one. One of the things I really dislike about this method (maybe email would be better?)

Have you tried http://ybin.me/?

Re: Switching Focus on Hoykey, seeing weird keydown behavior.

PostPosted: Wed Oct 31, 2018 8:07 pm
by MadMilitia
MiRai wrote:
MadMilitia wrote:Hey Lax, I split it in 6 pastebin urls. It was too much to put into one. One of the things I really dislike about this method (maybe email would be better?)

Have you tried http://ybin.me/?



https://ybin.me/p/d76db9b03ebc7f82#M8x2 ... IwClSc3Go=

Re: Switching Focus on Hoykey, seeing weird keydown behavior.

PostPosted: Sat Nov 17, 2018 5:56 pm
by MadMilitia
UPDATE: Since regaining my patience for WoW I've remade my profile. Started from scratch. Just added the CTRL+F1-10 keybinds for swapping windows and the mount keymap for testing if this keydown issue was still happening.

It seems that since recreating the profile no keydown events are stuck. I will keep adding things and rechecking as I go. If I don't find the problem remaining after rebuilding everything (sigh) then I'll let you know that too.

Re: Switching Focus on Hoykey, seeing weird keydown behavior.

PostPosted: Tue Nov 20, 2018 4:40 pm
by MadMilitia
No dice. Remade, things looked fine. Now today it looks like we're back to odd behavior with keydown events.

New profile: https://ybin.me/p/3e0ffd9f0e0125b4#DuhM ... /076gJKhw=

Same problem, slightly different build.