hyprwm / Hyprland

Hyprland is a highly customizable dynamic tiling Wayland compositor that doesn't sacrifice on its looks.
https://hyprland.org
BSD 3-Clause "New" or "Revised" License
18.12k stars 754 forks source link

More than Two mod keys in a keybind fail to work. #4450

Open chrisfair opened 5 months ago

chrisfair commented 5 months ago

Hyprland Version

❯ hyprctl version
Hyprland, built from branch HEAD at commit 03ebbe18ed8517ee22591eac82cd54322f42cb7d (props: bump ver to 0.34.0). Date: Mon Jan 1 12:03:15 2024 Tag: v0.34.0

flags: (if any)

Bug or Regression?

Bug

Description

I cannot create modifiers that contain more than two and have them work. I am trying to create a hyper key which ought to be SUPER + CONTROL + ALT + SHIFT and a meh key which ought to be CONTROL + ALT + SHIFT. I can bind with any combination of two but past that it does not work.

How to reproduce

Try to define a hyper key as I specified in the description then attempt to use it. It will fail to work. Otherwise looking good. I am able to define these keys in I3 with no problem.

Crash reports, logs, images, videos

No response

MightyPlaza commented 5 months ago

bind = CONTROL_SUPER_ALT_SHIFT, Y, exec, foot works for me

chrisfair commented 5 months ago

I wish it did work but it does not, I tried it in a bind = CONTROL_ALT_SHIFT, r, exec, pkill rofi || rofi -show drun -modi drun,filebrowser,run,window (for meh key)

It did not work....CONTROL_SHIFT works just fine...and CONTROL_ALT worked just fine. Once I do CONTROL_ALT_SHIFT it does not work for me. Do you know if there is any kind of OS setting or keyboard setting that may be causing me issues? I am not using anykind of keyboard software just flashing my ERGODOX_EZ

On Mon, Jan 15, 2024 at 12:41 PM MightyPlaza @.***> wrote:

bind = CONTROL_SUPER_ALT_SHIFT, Y, exec, foot works for me

— Reply to this email directly, view it on GitHub https://github.com/hyprwm/Hyprland/issues/4450#issuecomment-1892633971, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA657BMJCWRHU2XQPW2P6QLYOVZ5JAVCNFSM6AAAAABB3VXVKOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJSGYZTGOJXGE . You are receiving this because you authored the thread.Message ID: @.***>

MightyPlaza commented 5 months ago

what's the output of wev when pressing those keys?

chrisfair commented 5 months ago

[14: wl_keyboard] key: serial: 183; time: 675964; key: 37; state: 1 (pressed) sym: Control_L (65507), utf8: '' [14: wl_keyboard] modifiers: serial: 0; group: 16 depressed: 00000004: Control latched: 00000000 locked: 00000010: Mod2 [14: wl_keyboard] key: serial: 185; time: 675964; key: 50; state: 1 (pressed) sym: Shift_L (65505), utf8: '' [14: wl_keyboard] modifiers: serial: 0; group: 16 depressed: 00000005: Shift Control latched: 00000000 locked: 00000010: Mod2 [14: wl_keyboard] key: serial: 187; time: 675964; key: 64; state: 1 (pressed) sym: ISO_Next_Group (65032), utf8: '' [14: wl_keyboard] key: serial: 188; time: 675964; key: 133; state: 1 (pressed) sym: Super_L (65515), utf8: '' [14: wl_keyboard] modifiers: serial: 0; group: 16 depressed: 00000045: Shift Control Mod4 latched: 00000000 locked: 00000010: Mod2 [14: wl_keyboard] key: serial: 190; time: 676040; key: 37; state: 0 (released) sym: Control_L (65507), utf8: '' [14: wl_keyboard] modifiers: serial: 0; group: 16 depressed: 00000041: Shift Mod4 latched: 00000000 locked: 00000010: Mod2 [14: wl_keyboard] key: serial: 192; time: 676040; key: 50; state: 0 (released) sym: Shift_L (65505), utf8: '' [14: wl_keyboard] modifiers: serial: 0; group: 16 depressed: 00000040: Mod4 latched: 00000000 locked: 00000010: Mod2 [14: wl_keyboard] key: serial: 194; time: 676040; key: 64; state: 0 (released) sym: Alt_L (65513), utf8: '' [14: wl_keyboard] key: serial: 195; time: 676040; key: 133; state: 0 (released) sym: Super_L (65515), utf8: '' [14: wl_keyboard] modifiers: serial: 0; group: 16 depressed: 00000000 latched: 00000000 locked: 00000010: Mod2

On Mon, Jan 15, 2024 at 2:56 PM MightyPlaza @.***> wrote:

what's the output of wev when pressing those keys?

— Reply to this email directly, view it on GitHub https://github.com/hyprwm/Hyprland/issues/4450#issuecomment-1892756695, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA657BM4P2KVNRQQSRB4TZ3YOWJZXAVCNFSM6AAAAABB3VXVKOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJSG42TMNRZGU . You are receiving this because you authored the thread.Message ID: @.***>

MightyPlaza commented 5 months ago

i can't seem to find the R press in there was it cut out?

chrisfair commented 5 months ago

Oh I did not press that on this example I just pressed the hyper key I have on my ergodox, but I can go back and do it with the r added in to see if it is picking it up.

On Mon, Jan 15, 2024 at 3:15 PM MightyPlaza @.***> wrote:

i can't seem to find the R press in there was it cut out?

— Reply to this email directly, view it on GitHub https://github.com/hyprwm/Hyprland/issues/4450#issuecomment-1892771603, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA657BI5MQ7IEHZJX3DBPP3YOWL6JAVCNFSM6AAAAABB3VXVKOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJSG43TCNRQGM . You are receiving this because you authored the thread.Message ID: @.***>

chrisfair commented 5 months ago

$mainMod = SUPER $hyper = CONTROL_SHIFT_ALT_SUPER $meh = CONTROL_SHIFT_ALT $files = thunar $term = xfce4-terminal $scriptsDir = $HOME/.config/hypr/scripts $UserScripts = $HOME/.config/hypr/UserScripts

rofi App launcher

bindr = $mainMod, $mainMod_L, exec, pkill rofi || rofi -show drun -modi drun,filebrowser,run,window bind = $mainMod, d, exec, pkill rofi || rofi -show drun -modi drun,filebrowser,run,window bind = $hyper, r, exec, pkill rofi || rofi -show drun -modi drun,filebrowser,run,window

14: wl_keyboard] key: serial: 582; time: 1828765; key: 37; state: 1 (pressed) sym: Control_L (65507), utf8: '' [14: wl_keyboard] modifiers: serial: 0; group: 16 depressed: 00000004: Control latched: 00000000 locked: 00000010: Mod2 [14: wl_keyboard] key: serial: 584; time: 1828765; key: 50; state: 1 (pressed) sym: Shift_L (65505), utf8: '' [14: wl_keyboard] modifiers: serial: 0; group: 16 depressed: 00000005: Shift Control latched: 00000000 locked: 00000010: Mod2 [14: wl_keyboard] key: serial: 586; time: 1828765; key: 64; state: 1 (pressed) sym: ISO_Next_Group (65032), utf8: '' [14: wl_keyboard] key: serial: 587; time: 1828765; key: 133; state: 1 (pressed) sym: Super_L (65515), utf8: '' [14: wl_keyboard] modifiers: serial: 0; group: 16 depressed: 00000045: Shift Control Mod4 latched: 00000000 locked: 00000010: Mod2 [14: wl_keyboard] key: serial: 589; time: 1829274; key: 27; state: 1 (pressed) sym: R (82), utf8: '' [14: wl_keyboard] key: serial: 590; time: 1829573; key: 27; state: 0 (released) sym: R (82), utf8: '' [14: wl_keyboard] key: serial: 591; time: 1829783; key: 37; state: 0 (released) sym: Control_L (65507), utf8: '' [14: wl_keyboard] modifiers: serial: 0; group: 16 depressed: 00000041: Shift Mod4 latched: 00000000 locked: 00000010: Mod2 [14: wl_keyboard] key: serial: 593; time: 1829783; key: 50; state: 0 (released) sym: Shift_L (65505), utf8: '' [14: wl_keyboard] modifiers: serial: 0; group: 16 depressed: 00000040: Mod4 latched: 00000000 locked: 00000010: Mod2 [14: wl_keyboard] key: serial: 595; time: 1829783; key: 64; state: 0 (released) sym: Alt_L (65513), utf8: '' [14: wl_keyboard] key: serial: 596; time: 1829783; key: 133; state: 0 (released) sym: Super_L (65515), utf8: '' [14: wl_keyboard] modifiers: serial: 0; group: 16 depressed: 00000000 latched: 00000000 locked: 00000010: Mod2

On Mon, Jan 15, 2024 at 3:19 PM Christopher Fair < @.***> wrote:

Oh I did not press that on this example I just pressed the hyper key I have on my ergodox, but I can go back and do it with the r added in to see if it is picking it up.

On Mon, Jan 15, 2024 at 3:15 PM MightyPlaza @.***> wrote:

i can't seem to find the R press in there was it cut out?

— Reply to this email directly, view it on GitHub https://github.com/hyprwm/Hyprland/issues/4450#issuecomment-1892771603, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA657BI5MQ7IEHZJX3DBPP3YOWL6JAVCNFSM6AAAAABB3VXVKOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJSG43TCNRQGM . You are receiving this because you authored the thread.Message ID: @.***>