Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Copy to clipboard sometimes fails (collecting diagnostics)

Aperta
#1,090 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
18/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
frontend

Direzione di ricerca

The payload names no source files or tests. The starting point is the clipboard write path that calls navigator.clipboard.writeText and shows the "Copy failed" dialog, which is not named here, so locate it by searching for those strings. The issue is unreproduced and mainly asks for diagnostics, so it is not a good first task. Done would mean the dialog's Copy details output records timing, focus and browser engine without copying the content.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Clicking a copy action, such as Copy surface:N in a terminal's right-click context, sometimes fails with "Could not copy to clipboard"; retrying usually works.

In WebKit, navigator.clipboard.writeText is refused with NotAllowedError when the click does not count as recent activation. We could not reproduce it in Chromium or Playwright WebKit, even with the page's main thread blocked for up to 8 seconds before the click.

If you hit it

Dormouse shows a Copy failed dialog. Click Copy details and paste them in a comment here. Please add:

  • what you clicked
  • what you were doing just before
  • your Dormouse version
  • whether you use the desktop app or VS Code

The details describe the attempt (timing, focus, browser engine), never what you were copying.

Lingua principale
TypeScript
Stelle
5
Fork
1
Merge medio
12h 2m
PR unite (30g)
387

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di diffplug/dormouse

Tutte le issue di diffplug/dormouse

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.