rust-windowing / rust-windowing/winit

How are double clicks handled?

Open
#642 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

F - question S - api
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

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.