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

Aberta
#124 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
42/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
csharp
Domínio
desktop, devtools, testing

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.
Linguagem predominante
C#
Estrelas
0
Forks
0
Merge médio
1h 43min
PRs com merge (30d)
43

Preparar o ambiente

Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de sillsdev/SIL.TextEditing

Todas as issues de sillsdev/SIL.TextEditing

Issues semelhantes

Mais issues de C#

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.