Immediate-Mode-UI / Immediate-Mode-UI/Nuklear
Each Enter or Backspace key press will repeat several times in GLFW.
- Dominant language
- C
- Stars
- 11.4k
- Forks
- 686
- Avg merge
- 4d 1h
- Merged PRs (30d)
- 3
Description
I'm using GLFW 3.3 with GL3 backend under MacOS v10.15.1.
In TextEditor, each Enter or Backspace key press will generate several key press events which makes the TextEditor nearly unusable.
I compiled nuklear with below defines:
```
NK_INCLUDE_FIXED_TYPES: 1
NK_INCLUDE_STANDARD_IO: 1
NK_INCLUDE_DEFAULT_ALLOCATOR: 1
NK_INCLUDE_VERTEX_BUFFER_OUTPUT: 1
NK_INCLUDE_FONT_BAKING: 1
NK_INCLUDE_DEFAULT_FONT: 1
NK_KEYSTATE_BASED_INPUT: 1
```
How to fix it?
Contributor guide
Research direction
Reproduce the issue in the GLFW 3.3 GL3 backend on macOS 10.15.1 using the TextEditor and the listed Nuklear defines. Inspect the keyboard event and TextEditor input paths to determine why Enter and Backspace repeat; done means each physical key press produces one corresponding editor action.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, macos
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100