rust-windowing / rust-windowing/winit
How are double clicks handled?
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 6.2k
- Forks
- 1.3k
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 9
Description
I searched the documentation and found nothing about double clicks. I think there should either be some state for this in the mouse input event or at least a function to get the double click time from the system.
Keep in mind that triple clicks and so on also need to be supported. Triple click typically selects a paragraph in a text view.
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 reviewing the mouse input event API and the platform-specific window handling involved in winit. Determine how double-click timing and higher click counts should be represented consistently across supported platforms. Done means the issue's requested multi-click behavior is defined and exposed through the public API, with corresponding coverage for double and triple clicks.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- api, desktop
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 28/100