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 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
25/100
Issue 類型
缺陷
描述清晰度
需要釐清
活躍度
停滯
技術堆疊
csharp

研究方向

使用 DialogHost.Show() 和包含超過 10,000 列的 WPF DataGrid 重現變慢問題,並比較顯示對話方塊前後全選的行為。使用 Visual Studio 效能分析工具確認與 GC 相關的呈現延遲。當大量選取操作不再產生所回報的數秒 UI 延遲時,即視為完成。

由索引模型根據 Issue 內容生成。

描述

bug dialoghost
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

主要語言
C#
星號
16.3k
分支
3.5k
平均合併
4 小時 25 分鐘
30 天內合併 PR
4

環境準備

  • 沒有 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 閱讀貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

MaterialDesignInXAML/MaterialDesignInXamlToolkit 的其他 Issue

查看 MaterialDesignInXAML/MaterialDesignInXamlToolkit 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。