Elegant retry mechanism for Windows clipboard
Open
- Dominant language
- C++
- Stars
- 28.8k
- Forks
- 4.9k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 21
Description
### Feature Request
After reviewing the proposed retry-sleep loop in PR #9474 it occured to me that we could use some more elegant and resilent approaches to retry the Windows clipoard:
- use our event system to fire delayed events to retry the clipboard open
- use `AddClipboardFormatListener`
- use `SleepEx` instead with `MsgWaitForMultipleObjects`
PowerShell script to test: `$i=0; while($true){Set-Clipboard -Value $i; $i++; Start-Sleep -Milliseconds 1}`
### Voting Instructions
React with :+1: or :-1: to vote on this request
Contributor guide
Assessment
This issue has not been assessed yet.