rust-windowing / rust-windowing/winit

Touch Input: only one finger is updated when two or more are moving in Firefox for Android

Open
#4,113 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

B - bug DS - web
Dominant language
Rust
Stars
6.2k
Forks
1.3k
Avg merge
2d 19h
Merged PRs (30d)
9

Description

Description

I'm not sure if this is a bug with winit or if it's a bug in Firefox, but I'm implementing pinch to zoom and I've found that when two fingers are moving at once, only one of them will be updated. It works just fine in Chrome.

I built a tool to visualise the touch inputs which I've hosted here: https://bogoblin.github.io/winit-touch-test/ or you can look at the repo here: https://github.com/bogoblin/winit-touch-test/

Tested browsers

Firefox

Tested devices

Google Pixel 6

Winit version

0.30.8

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

Start with the linked winit-touch-test reproduction and inspect winit's touch-input handling for Firefox on Android. Compare the reported behavior with Chrome using the provided test case; done means simultaneous movement of two or more fingers produces updates for each touch point.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, rust
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.