rust-windowing / rust-windowing/winit
Can set_control_flow from EventLoop but cannot get current control_flow
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 6.2k
- Forks
- 1.3k
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 9
Description
In version 0.30 it's no longer possible to get the control flow from the EventLoop with control_flow(), but it's still possible to set_control_flow(). Seems inconsistent or is it an oversight?
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 version 0.30 EventLoop API around control_flow() and set_control_flow(), then inspect related tests or documentation for the intended behavior. Done means the API consistently supports the expected way to read or manage the current control flow, with coverage for the relevant behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100