MoonshotAI / MoonshotAI/kimi-code
[Web UI] A single Ctrl+V image paste creates two attachment chips (clipboard.png + image.png)
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 7.5k
- Forks
- 1.2k
- Avg merge
- 11h 53m
- Merged PRs (30d)
- 350
Description
Environment
- kimi-code Web UI (local server), 0.38.0, Windows 11, Edge
Repro
- Copy a screenshot to the clipboard (Win+Shift+S).
- In the Web UI input box, press Ctrl+V once.
Expected
One attachment chip.
Actual
Two chips appear for what is the same image: clipboard.png and image.png. It looks like two handlers (paste event + clipboard poll?) both pick up the same clipboard content.
Reproducible every time (observed 2026-08-27).
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 at the Web UI input box's paste handling and reproduce the issue with a screenshot copied via Win+Shift+S. Trace the paste event and any clipboard polling that create attachments; done means one Ctrl+V produces one attachment chip instead of both clipboard.png and image.png.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 65/100