rust-windowing / rust-windowing/winit

Tracking Issue: Sync key press/release with window focus

Open
#1,272 22 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

B - bug C - needs investigation DS - appkit DS - uikit DS - wayland DS - web DS - win32 DS - x11
Dominant language
Rust
Stars
6.2k
Forks
1.3k
Avg merge
2d 19h
Merged PRs (30d)
9

Description

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.