rust-windowing / rust-windowing/winit
Document behavior of key events interacting with window focus
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 6.2k
- Forks
- 1.3k
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 9
Description
What happens when a key is held while a window loses focus? E.g. on X11 a synthetic key up event is received while on MacOS a key up event is received when the user releases the key. The behavior also seems to differ between modifier and normal keys.
Winit should document how window focus influences what key events get send and how this differs between platforms.
See also #3543
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
Start by investigating the platform-specific behavior described for X11 and macOS, then read the related issue #3543 for context. Done means documenting how window focus affects key-up events, including the differences between modifier and normal keys across platforms.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos, rust
- Domain
- documentation, operating-systems
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- Half a day
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100