Clipboard and spelling follow-ups from PR #122: real-clipboard test guards, PasteOrder, restart threads

Abierto
#124 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
42/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
csharp

Línea de trabajo

Start with the RealClipboard tests and their CI configuration to assess clipboard side effects, timeouts, platform skips, and mutex naming. Then inspect RestartSpelling, PasteOrder, and the Avalonia test fixture that sets the font size. The issue is done when each follow-up has a clear resolution and relevant tests cover the chosen behavior; the payload does not name specific files or tests.

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

Descripción

From the PR #122 re-reviews:

  • RealClipboard tests: add a local opt-out env var (e.g. TEXTEDITING_SKIP_REAL_CLIPBOARD=1) since dotnet test overwrites the developer's clipboard; give the mutex wait and UI invoke a ~60 s timeout that fails the test; skip with a clear message when the Win32 platform can't start (no desktop session); use a Global\ mutex name for multi-session machines. If windows-latest CI flakes, move them to their own CI step.
  • RestartSpelling during a hung Check leaves that pool thread blocked; repeated restarts accumulate blocked threads (bounded by restart frequency).
  • PasteOrder is mutable; consider an immutable list or copy-on-set.
  • About 61 Avalonia tests assume the 16 pt fixture size and would be vacuous at the real 10 pt default; review whether any should run at 10 pt.
Lenguaje dominante
C#
Estrellas
0
Forks
0
Merge medio
1 h 43 min
PR fusionados (30 d)
43

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 sillsdev/SIL.TextEditing

Todos los issues de sillsdev/SIL.TextEditing

Issues similares

Más issues de C#

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.