Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Copy to clipboard sometimes fails (collecting diagnostics)

Abierto
#1,090 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
18/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
typescript
Área
frontend

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
TypeScript
Estrellas
5
Forks
1
Merge medio
12 h 2 min
PR fusionados (30 d)
387

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de diffplug/dormouse

Todos los issues de diffplug/dormouse

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.