obsproject / obsproject/obs-studio
Non-numlocked numpad keys cannot be assigned as hotkeys under Wayland
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 76.4k
- Forks
- 10.2k
- Avg merge
- 4d 23h
- Merged PRs (30d)
- 12
Description
Operating System Info
Other
Other OS
Arch Linux
OBS Studio Version
Git
OBS Studio Version (Other)
ga4834efde
OBS Studio Log URL
Nothing relevant in logs
OBS Studio Crash Log URL
No response
Expected Behavior
The numpad End key is assigned to the chosen action.
Current Behavior
Nothing happens. The input field remains blank.
Steps to Reproduce
- Run a Wayland compositor (I'm using Hyprland)
- Turn off num-lock
- Run
wev - Press the "1" key on the numpad
- Notice that it records that the button
KP_Endwas pressed (distinct from theEndkey) - Close
wev - Open OBS
- Open Settings -> Hotkeys and select the input field for an unassigned action
- Press the "1" key on the numpad
Anything else we should know?
Numeric inputs from the numpad work just fine (like "1" with num lock turned on). The equivalent non-numpad keys work fine (like the regular "End" key).
It could be that Hyprland is doing something weird in how it handles num lock (see https://github.com/hyprwm/Hyprland/issues/2682 for example), but given that wev produces the expected output I don't think this is related to Hyprland.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue in OBS Settings → Hotkeys under a Wayland compositor with num-lock disabled, using wev to confirm the key is reported as KP_End. Trace the hotkey input handling from the hotkey field and verify that the non-numlocked numpad End key is recorded and assigned to the selected action.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, linux
- Domain
- desktop, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100