Bug? LA(RIGHT) !== Alt + RightArrow
I have a shortcut for "go back"/"go forward" in browser. LA(RIGHT or RIGHT_ARROW) on certain pages(e.g. theverge.com) focuses on three dots of chrome browser and MS Edge (menu button) as though I clicked f10. This is happening on windows 10 and 11. I didn't test on any other OS. I am using Kinesis 360 Pro. Is there any other way to do Alt + Arrow other than LA(Right)?
Again: It does go back and forward with LA(LEFT) and LA(RIGHT), but also focuses on the menu three dots...
Just hitting alt+(right or left) never has this behavior and works as expected.
The problem is that I have to then click escape(to unfocus from menu) before using Vimium to e.g. scroll on the page.
as though I clicked f10
The Alt sets the focus there too if no other key is pressed iirc.
Maybe you try the keycodes K_BACK and K_FORWARD.
Thank you for your suggestion) I will try that. Yes, Alt on its own does that, but LA(RIGHT) should(or I expected) not set focus anywhere... When I do it manually with two keys on my keyboard, it doesn't change focus. At the moment I am using hyperkey(left_arrow) and I remap it to Alt Left in windows powertoys and works great, but of course it would be better to be able to do it without external apps.
Just a guess: Did you wrap &kp LA(RIGHT) into something else like a macro or encoder?
I'm having an issue which might be the same as this one. Or at least there's some coincidence. I have a shortcut &kp LG(RIGHT) which, after producing a WIN + RIGHT combination, it opens windows menu. I guess it's triggering an extra WIN press after the intended key combination.
The same happens with all other arrows instead of RIGHT. I have no clue on what could be happening (I'm fairly new to ZMK), but I did try usb logging which I could upload if you think it is worth it.
As a workaround, I've been able to get WIN + RIGHT (and the other arrows) usign a macro which first presses the LGUI key, then taps the arrow and then releases the LGUI.
I still don't know why LG(RIGHT) won't work as expected, but at least I can produce WIN + RIGHT.
I am also facing the behavior while binding LG(
I have the same issue as jangraefen and Eryx5502 with these keycodes: &kp LG(LEFT_ARROW) &kp LG(RIGHT_ARROW)
However, these work fine: &kp LG(DOWN_ARROW) &kp LG(UP_ARROW)
For future readers, check out this issue and caksoylar's reply: https://github.com/zmkfirmware/zmk/issues/2905
Enabling CONFIG_ZMK_HID_SEPARATE_MOD_RELEASE_REPORT did the trick for me.
Closing as a resolution was found. If this issue reappears and the solution is not working, please feel free to reopen.