MaterialDesignInXAML / MaterialDesignInXAML/MaterialDesignInXamlToolkit

The DialogHost. Show() method affects the rendering speed of the UI when multiple rows are selected in the DataGrid

未关闭
#3,336 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

bug dialoghost
主要语言
C#
星标
16.3k
派生
3.5k
平均合并
1 天 22 小时
30 天内合并 PR
8

描述

Bug explanation

After using the DialogHost. Show() method, if multiple rows (over 10000 rows) are selected in the DataGrid, it will seriously affect the rendering speed of the UI. At present, I have found this issue on many computers. If the DataGrid data exceeds tens of thousands of rows, when performing a select all operation, the UI may even lag for more than ten seconds. The same amount of data results in a fast rendering speed before using the DialogHost. Show() method. Visual Studio performance probe analysis was used and it was found that the stuck time was used for GC.

Version

4.9.0

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

使用 DialogHost.Show() 和包含超过 10,000 行的 WPF DataGrid 重现变慢问题,并比较显示对话框前后全选的行为。使用 Visual Studio 性能分析器确认与 GC 相关的渲染延迟。当大规模选择操作不再产生所报告的数秒 UI 延迟时,即视为完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
csharp
领域
desktop, performance
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。