rust-windowing / rust-windowing/winit
Drag & Drop meta-issue
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 6.2k
- Forks
- 1.3k
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 9
Description
This is mostly a stub issue to keep track of progress on improvements to the drag/drop API:
- Dropping lists of files
- Dropping non-file data
- Dropping multiple types of data at once (i.e. receiving unformatted text and a formatted, HTML version of that text)
- Potential datatypes to support:
- Text
- HTML
- Image
- Audio
I did some research into platform-specific clipboard APIs, and as far as I can tell those are the datatypes that we can probably support across all platforms. I'm hesitant to support audio data sine there seems to be way more variance in how platforms support that than the other datatypes, but from what I've seen most platforms expose it in one way or another.
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
This is a meta-issue and names no files, tests, or entry points. Start by locating the existing drag/drop API and reviewing the platform-specific clipboard API research described here. Done would require a decided scope and implementation plan for file lists, non-file data, supported datatypes, and cross-platform behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- desktop
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100