druid-shell no clear causes flickers on windows
Open
Nobody has claimed this yet.
bug
shell/win
- Dominant language
- Rust
- Stars
- 9.7k
- Forks
- 565
- PR merge metrics
- No merged PRs in 30d
Description
If you use druid-shell without clearing on each paint event, you get a weird flickering effect which I assume is a result of the DXGI_SWAP_EFFECT_FLIP_SEQUENTIAL presentation strategy.
This wasn't obvious at first, and should probably be documented somewhere.
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 locating the druid-shell painting documentation and the Windows presentation behavior related to DXGI_SWAP_EFFECT_FLIP_SEQUENTIAL. Document that applications should clear on each paint event to avoid flickering on Windows; it is done when this guidance is easy to find and accurately explains the cause.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- desktop
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100