Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
fzhxhdd888 opened this issue Oct 9, 2023 · 2 comments

Comments

@fzhxhdd888
Copy link

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

@fzhxhdd888 fzhxhdd888 added bug evaluation required Items is pending review or evaluation by the team labels Oct 9, 2023
@Keboo
Copy link
Member

Keboo commented Oct 22, 2023

@fzhxhdd888 are you able to provide a sample of your setup? Is the DataGrid inside of the DialogHost? Do you have virtualization enabled on the DataGrid?

@Keboo Keboo added Waiting on feedback Additional information is needed. Stale items with this label may be closed. and removed evaluation required Items is pending review or evaluation by the team labels Oct 22, 2023
@fzhxhdd888
Copy link
Author

fzhxhdd888 commented Nov 1, 2023

https://github.com/fzhxhdd888/WpfMaterialDataGridTest

The above link is a small case study. Currently, I have tried many computers with this issue. There are also a small number of computers that have no issues, so I am very confused.

@Keboo Keboo removed the Waiting on feedback Additional information is needed. Stale items with this label may be closed. label Nov 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants