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

Offen
#124 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
42/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
csharp

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.
Vorherrschende Sprache
C#
Sterne
0
Forks
0
Ø Merge
1 Std. 43 Min.
Gemergte PRs (30 T.)
43

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus sillsdev/SIL.TextEditing

Alle Issues in sillsdev/SIL.TextEditing

Ähnliche Issues

Weitere Issues zu C#

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.