You are not logged in.

#1 2025-06-23 05:35:38

Akamiblade129_7
Member
Registered: 2024-12-06
Posts: 45

[ABANDONED]Bindings weird behavior Hyprland

I have 2 specific bindings here

bind = Super_L, SPACE, exec, rofi -show run
bind = Super_R, SPACE, exec, mpc toggle

Both bindings were responding to any Super button, but I fixed that adding 's' flag

binds = Super_L, SPACE, exec, rofi -show run
binds = Super_R, SPACE, exec, mpc toggle

But now these bindings sometimes just don't work until I hit LMB. I've tried 'p' and 'l' flags but that doesn't seem to help. How to fix that?

Info that might be useful:

Last edited by Akamiblade129_7 (2025-07-18 14:05:47)

Offline

#2 2025-07-06 00:43:13

Akamiblade129_7
Member
Registered: 2024-12-06
Posts: 45

Re: [ABANDONED]Bindings weird behavior Hyprland

I've fixed it by doing empty binding:

bind = SUPER, SPACE, exec,

Now it works pretty fine
No it doesn't.. Problem still not fixed

Last edited by Akamiblade129_7 (2025-07-06 04:14:26)

Offline

#3 2025-07-06 07:51:01

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,722

Re: [ABANDONED]Bindings weird behavior Hyprland

Super_L and Super_R are distinct keys but they'll trigger the exact same modifier (mod4, 0x40) so if you're using them as a modifier to "space" the will cause the exact same event (same key on the same |0x40 modifier)
So https://github.com/hyprwm/Hyprland/pull/5966 the "binds" version should™ be the correct pick.

bindings sometimes just don't work until I click onto wallpaper

Does *only*

bind = SUPER, SPACE, exec, rofi -show run

work in the scenarios where the "binds" approach didn't?

Online

#4 2025-07-12 13:54:42

Akamiblade129_7
Member
Registered: 2024-12-06
Posts: 45

Re: [ABANDONED]Bindings weird behavior Hyprland

Sorry for not responding for a quite time. I've tested your thing.
I've set bindings:

binds = Super_L, SPACE, exec, rofi -show run
binds = Super_R, SPACE, exec, mpc toggle
bind = SUPER, SPACE, exec, rofi -show drun

And indeed, when the 'binds' bindings don't work, the 'bind' one works.
The 'bind' one works even when 'binds' do work, but that's expected.

Offline

#5 2025-07-12 15:13:45

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,722

Re: [ABANDONED]Bindings weird behavior Hyprland

Test the behavior of https://aur.archlinux.org/packages/hyprland-git and in doubt file a bug at https://github.com/hyprwm/Hyprland/issues

binds = Super_L, SPACE, exec, rofi -show run
binds = Super_R, SPACE, exec, mpc toggle

should™ be correct.
On more thing to test would be wofi (for a native wayland client instead of rofi) and https://man.archlinux.org/man/rofi.1#normal (to prevent rofi from grabbing the input)

Online

#6 2025-07-13 09:38:54

Akamiblade129_7
Member
Registered: 2024-12-06
Posts: 45

Re: [ABANDONED]Bindings weird behavior Hyprland

seth wrote:

Test the behavior of https://aur.archlinux.org/packages/hyprland-git and in doubt file a bug at https://github.com/hyprwm/Hyprland/issues

binds = Super_L, SPACE, exec, rofi -show run
binds = Super_R, SPACE, exec, mpc toggle

should™ be correct.
On more thing to test would be wofi (for a native wayland client instead of rofi) and https://man.archlinux.org/man/rofi.1#normal (to prevent rofi from grabbing the input)

I've tested it on hyprland-git, nothing changes.
I don't think it has anything with rofi, because it isn't even running when it happens.

Offline

#7 2025-07-13 13:19:58

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,722

Re: [ABANDONED]Bindings weird behavior Hyprland

seth wrote:

Online

#8 2025-07-14 11:02:39

Akamiblade129_7
Member
Registered: 2024-12-06
Posts: 45

Re: [ABANDONED]Bindings weird behavior Hyprland

seth wrote:
seth wrote:

Done. Thank you so much for helping

Offline

#9 2025-07-17 08:08:48

Akamiblade129_7
Member
Registered: 2024-12-06
Posts: 45

Re: [ABANDONED]Bindings weird behavior Hyprland

I've got an answer from github and it seems to be a common issue with 'binds'.
It happens after Scroll event as described here
I still didn't fix it unfortunately, and seems like there's no way to fix it since it's just a hyprland bug.
So I'm closing this.

Last edited by Akamiblade129_7 (2025-07-17 08:09:55)

Offline

#10 2025-07-17 08:54:13

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,840

Re: [ABANDONED]Bindings weird behavior Hyprland

Closed is reserved for moderators and indicates no more posts can be added, please choose another term.

[Gave up] or [Abandoned] are acceptable.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

Board footer

Powered by FluxBB