Avalonia.Controls.TreeDataGrid icon indicating copy to clipboard operation
Avalonia.Controls.TreeDataGrid copied to clipboard

TreeDataGrid is flickering when using a binding to a task with fallback value

Open DevAM-Tools opened this issue 2 years ago • 0 comments

Describe the bug

When a TreeDataGrid uses a TemplateColumn with a binding to a Task that returns a string the display is flickering when the underlaying Collection has a reset event.

In comparison a DataGrid view does not show such an issue.

There is no flickering if the TreeDataGrid is noch bound to a Task.

To Reproduce

Please see atteched example. TreeDataGridFlickering.zip

Expected behavior

I would expect no flickerung if there is no reason because of the actual execution time of the task. I would expect to get a similar visual experience that the DataGrid offers.

Screenshots

https://github.com/AvaloniaUI/Avalonia/assets/125025268/5092fd32-9239-408a-a1f6-7407e7f34388

Environment

  • OS: Windows 11
  • Avalonia-Version: Avalonia 11.0.6, TreeDataGrid 1.0.2

DevAM-Tools avatar Jan 16 '24 19:01 DevAM-Tools