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 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

bug dialoghost
主要言語
C#
スター
16.3k
フォーク
3.5k
平均マージ
1日 22時間
マージ済み PR(30日)
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. リポジトリをフォークし、ブランチを切って変更します。
  4. 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 を短くまとめたダイジェスト。