MaterialDesignInXAML / MaterialDesignInXAML/MaterialDesignInXamlToolkit
DialogHost Show performance issues when using datagrid
Open
Nobody has claimed this yet.
bug
up-for-grabs
- Dominant language
- C#
- Stars
- 16.3k
- Forks
- 3.5k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 8
Description
DialogHost Show is having a performance issue when switching between two dialogs that contain a DataGrid. Tested on two computers.
Steps to reproduce:
- Button A -> DialogA (first init slow)
- Button A -> DialogA (no problem, fast)
- Button B -> DialogB (lags)
- Button B -> DialogB (no problem, fast)
... - Button A -> DialogA (lag)
- Button B -> DialogB (lag)
- Button A -> DialogA (lag)
- Button B -> DialogB (lag
...
Test Repo created here:
https://github.com/stany9g/DataHostDemo
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the switching sequence in the linked DataHostDemo test repository, focusing on DialogHost Show with dialogs containing a DataGrid. Compare the first and repeated transitions between DialogA and DialogB, then identify and verify a change that removes the reported lag.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100