Hyprland
Hyprland copied to clipboard
Passing keybinds doesn't work
For example, I have this in config
bind=CTRLALT,o,pass,^(com.obsproject.Studio)$

When I actually type it, it doesn't start the recording But I know it got somewhat passthough because when setting other keybinds, it won't let me type control+alt+o, which if it doesn't passthough, I would've been able to
have you tried other keybinds, esp a different mod? the pass feature is still indeed a bit funky.
Tried CTRL + o CTRLSHIFT +o nothing + o
None of them works
watch -n 0.1 "cat /tmp/$(echo HYPRLAND_INSTANCE_SIGNATURE) | grep -v "nimat" | tail -n 35"
see if the logs mention that the window has not been found (pass: window not found)
I'll check it myself and probably tinker with the method a bit too.
by looking at the logs, it seems like when I press CTRL o. Most of the time, it's just stuff with IME(IME TextInupt Keyboard Grab new, Disable TextInupt etc.)
But very rarely, it will have Keybind triggered, calling dispatcher which does in fact activate the recording!
p.e. it does call the dispatcher, but it doesn't actually woxk, idk why I thought it did work
oh, okay I know what's happening then. The IME Grab does not have keybind processing, at all. That's why your keybind is not activated. Weird though, as your real keyboard should still have it. I'll look into that.
check with 87a2ecb90eef965bfab6a6d683db18cb99755221
nope, still doesn't work, although it has improved
the logs only has Keybind triggered, calling dispatcher (12, , 111) this, doesn't have any IME logs when pressing the keybindgs
The binds get passed just fine for me, however obs doesn't seem to like any keybinds with modifiers. Does the keybind work when obs has focus and it's not bound in your config?
It's uhh, inconclusive. If I press the two buttons at the exact same moment, it does activate. But when I do ctrl, and then f10, it doesn't work. You must really press ctrl+f10
it's still an IME thing. Outside of programs that use the native text input protocol, this doesn't happen to me.
aaand now it decided to work for me every time. I don't get it.
Maybe it's connected to the other IME issues.
please check with 6565c31dbfb590c9173a192f4f26e6ea5c787375
Yeah, it still has the same outcome.
Also have this problem- logs from pressing SUPER+R multiple times:
[LOG] Subsurface b7b5bbb0 destroyed
[LOG] Callback b7b5bcc0 -> b7b5bcb8, Subsurface removed.
[LOG] Callback b7b5bbf0 -> b7b5bbe8, Subsurface removed.
[LOG] Callback b7b5bc58 -> b7b5bc50, Subsurface removed.
[LOG] Keybind triggered, calling dispatcher (64, , 114)
with binding config set with: bind=SUPER,R,pass,^(com\.obsproject\.Studio)$
On latest release v0.11.0.beta
Also have this problem- logs from pressing SUPER+R multiple times:
[LOG] Subsurface b7b5bbb0 destroyed [LOG] Callback b7b5bcc0 -> b7b5bcb8, Subsurface removed. [LOG] Callback b7b5bbf0 -> b7b5bbe8, Subsurface removed. [LOG] Callback b7b5bc58 -> b7b5bc50, Subsurface removed. [LOG] Keybind triggered, calling dispatcher (64, , 114)with binding config set with:
bind=SUPER,R,pass,^(com\.obsproject\.Studio)$On latest release v0.11.0.beta
I just ended up using obs-cli to get around this but let me know if additional logs/testing is needed.
Seems like OBS itself works poorly with keybinds involving mods. Even if you have it focused, it will refuse to use a hotkey e.g. CTRL+F1.
setting it to F1 and passing that works as intended.
mentioned the issue on the wiki. https://wiki.hyprland.org/Configuring/Advanced-config/#global-keybinds