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

[DataTable] HeaderedTreeView + DataTable renders blank rows for TreeView child items

Aperta
#816 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
38/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Tranquilla
Stack tecnologico
csharp
Ambito
desktop

Direzione di ricerca

Inizia eseguendo l’esempio di test ufficiale CommunityToolkit Gallery DataTable + TreeView su WinAppSDK/WinUI 3 e riproduci le righe figlie vuote mediante ripetute operazioni di espansione/compressione. Analizza il comportamento di rendering o virtualizzazione di HeaderedTreeView e DataTable, quindi verifica che ogni riga figlia continui a visualizzare il proprio contenuto dopo interazioni ripetute.

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

Descrizione

bug :bug:
Describe the bug

While testing the official CommunityToolkit Gallery sample for HeaderedTreeView with DataTable, I noticed that some child rows are rendered as blank (white) rows.

This happens without modifying the sample code.

Steps to reproduce
1. Run official CommunityToolkit Gallery Application.
2. Open the DataTable + TreeView (Test) sample.
3. Expand and collapse different TreeView nodes repeatedly.
4. Continue interacting with the TreeView for some time.
5. Occasionally, some child rows are displayed as blank (white) rows instead of their content.
Expected behavior

All child items should render correctly every time, regardless of how many times the nodes are expanded or collapsed.

Screenshots
Image
Code Platform
  • UWP
  • WinAppSDK / WinUI 3
  • Web Assembly (WASM)
  • Android
  • iOS
  • MacOS
  • Linux / GTK
Windows Build Number
  • Windows 10 1809 (Build 17763)
  • Windows 10 1903 (Build 18362)
  • Windows 10 1909 (Build 18363)
  • Windows 10 2004 (Build 19041)
  • Windows 10 20H2 (Build 19042)
  • Windows 10 21H1 (Build 19043)
  • Windows 11 21H2 (Build 22000)
  • Other (specify)
Other Windows Build number

Microsoft Windows [Version 10.0.26100.8655]

App minimum and target SDK version
  • Windows 10, version 1809 (Build 17763)
  • Windows 10, version 1903 (Build 18362)
  • Windows 10, version 1909 (Build 18363)
  • Windows 10, version 2004 (Build 19041)
  • Other (specify)
Other SDK version

Microsoft Windows 10.0.26100

Visual Studio Version

No response

Visual Studio Build Number

No response

Device form factor

No response

Additional context
  • The issue is intermittent.
  • It seems to occur only after repeated expand/collapse operations.
  • The underlying data is still present, but some rows are rendered as blank.
  • This appears to be a rendering or virtualization issue rather than a data-binding issue.
Help us help you

No, I'm unable to contribute a solution.

Lingua principale
C#
Stelle
483
Fork
89
Merge medio
4g 5h
PR unite (30g)
2

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

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 CommunityToolkit/Labs-Windows

Tutte le issue di CommunityToolkit/Labs-Windows

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.