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
17.95k stars 754 forks source link

Bug: Keybinds randomly stop working. #6410

Open advantageous-overtake opened 3 weeks ago

advantageous-overtake commented 3 weeks ago

Bug or Regression?

Regression

System Info and Version

System/Version info ```sh Hyprland, built from branch at commit cba1ade848feac44b2eda677503900639581c3f4 (props: bump version to 0.40.0). Date: Sat May 4 15:42:32 2024 Tag: v0.40.0, commits: 4606 flags: (if any) System Information: System name: Linux Node name: semina Release: 6.9.3-arch1-1 Version: #1 SMP PREEMPT_DYNAMIC Fri, 31 May 2024 15:14:45 +0000 GPU information: 01:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU117M [GeForce GTX 1650 Mobile / Max-Q] [10de:1f99] (rev a1) (prog-if 00 [VGA controller]) 05:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Cezanne [Radeon Vega Series / Radeon Vega Mobile Series] [1002:1638] (rev c6) (prog-if 00 [VGA controller]) os-release: NAME="Arch Linux" PRETTY_NAME="Arch Linux" ID=arch BUILD_ID=rolling ANSI_COLOR="38;2;23;147;209" HOME_URL="https://archlinux.org/" DOCUMENTATION_URL="https://wiki.archlinux.org/" SUPPORT_URL="https://bbs.archlinux.org/" BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues" PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/" LOGO=archlinux-logo plugins: ```

Description

Sometimes, my external keyboard is unable to use keybinds, while my the one built-in into my laptop works fine, albeit they resume to working properly some time after.

I don't think this is a hardware issue.

wev doesn't detect any input either.

Note that this is wasn't an issue like a week ago.

config.txt

How to reproduce

Possibly cannot, as I haven't seen any issues similar to mine.

Crash reports, logs, images, videos

No response

vaxerski commented 3 weeks ago

wev doesn't detect any input either.

That likely means it's your keyboard doing that, possibly broken.

I don't think this is a hardware issue.

I do

advantageous-overtake commented 2 weeks ago

wev doesn't detect any input either.

That likely means it's your keyboard doing that, possibly broken.

My bad, meant to say that wev doesn't detect keybinds, while normal key presses work as expected. I can still type in and use applications, but not use any keybind provided by hyprland.

Additionally, it does NOT happen with other compositors or X11.

vaxerski commented 2 weeks ago

Are you sure you have not entered some submap?

advantageous-overtake commented 2 weeks ago

Are you sure you have not entered some submap?

I am sure.

zjeffer commented 5 days ago

I had a similar issue today where it looked as if my super key suddenly stopped working hours after booting Hyprland. After seeing this, I assume it's probably the keybinds themselves that stopped working, not just the super key (most of my keybinds use the super key so I didn't think to test this).

Both my laptop keyboard and my external keyboard did not respond to keybinds. If I pressed the super key with wev open, wev correctly showed mod4 being pressed and recognized it as SUPER_L. It also didn't show keybinds IIRC.

This was on my work laptop which is still running v0.40.0. I've been running Hyprland on that system since v0.39.0 came, and have up to now only come across the problem once. I see the OP is also running 0.40.0, so this might be fixed in a later version, who knows. I'll upgrade to latest release soon.

I'm aware this isn't very helpful info, just wanted to confirm that this is an existing issue. Issue was fixed after logging out and back in again (=restarting Hyprland)

vaxerski commented 4 days ago

would wev show modifier updates? image

these.