rust-windowing / rust-windowing/winit
Tracking Issue: Sync key press/release 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
- Implemented on all platforms
- Windows - #1307
-
macOS(https://github.com/rust-windowing/winit/issues/1272#issuecomment-609384601) - iOS
- Linux X11 - #1296
- Linux Wayland
- Web
As mentioned in https://github.com/rust-windowing/winit/pull/1262#pullrequestreview-314593736, however over the window, hold any key, move off the window release the key. You won't get the released key event. Ever.
https://gist.github.com/goddessfreya/39ae1f768cde5bdbc8c9aefa25984824
https://gist.github.com/goddessfreya/0192aa8d9920dba7c933c98190c42d90
cc @murarth
Related: https://github.com/rust-windowing/winit/issues/1077
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
Review the platform checklist and the completed work in #1307 and #1296, then read the related discussion in #1077. The remaining work covers iOS, Linux Wayland, and Web; done means the key release is synchronized when focus changes on every listed platform.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- desktop, mobile-dev, operating-systems, web-dev
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100