Dmitry Kazennov

Results 18 comments of Dmitry Kazennov

> To confirm - are _controls_ leaking memory, or their _AO_ implementations? There are problems both with Controls and Accessible objects. This issue is to investigate the whole problem and...

* [ ] **Button control:** ![image](https://user-images.githubusercontent.com/102961955/175299490-7b4ebf8c-da14-4182-9b99-96af6fd08144.png) * [ ] **CheckBox control:** ![image](https://user-images.githubusercontent.com/102961955/175299547-a1b4c914-b175-4b78-bb78-c438563dd448.png) * [ ] **DataGridView control:** ![image](https://user-images.githubusercontent.com/102961955/175299622-3940b441-bcb7-481f-a134-531e2ee7459b.png) * [ ] **ListView:** ![image](https://user-images.githubusercontent.com/102961955/175508769-647f2ee5-3648-4fe9-b498-7de38447cac3.png) * [ ] **RichTextBox:** ![image](https://user-images.githubusercontent.com/102961955/175510730-0eb933a6-b011-43b0-a6d1-f65280062ee7.png) * [...

TabPage leaks when tested with Narrator: ![image](https://user-images.githubusercontent.com/102961955/176442352-4b0933fd-774b-4697-8080-b0ae5727a1c2.png)

I tested the Button control class in a standalone application without buttons to switch between forms (checkboxes are being used instead). If there are no buttons in the application (only...

Retested controls - found no leaks: - ListView - RichTextBox - MaskedTextBox * [ ] **ListView:** ![image](https://user-images.githubusercontent.com/102961955/177521734-c7683633-a2f2-464b-acca-a472c80d53db.png) * [ ] **RichTextBox:** ![image](https://user-images.githubusercontent.com/102961955/177521831-02912941-2659-43e5-827e-2d8ca65f7644.png) * [ ] **MaskedTextBox:** ![image](https://user-images.githubusercontent.com/102961955/177521902-1347d375-051c-431b-b129-8b2e77cbf7b1.png)

Retesting during development (with ToolStripForm from main WinformsContolsTest application). ![image](https://user-images.githubusercontent.com/102961955/177533333-820ced86-9a4b-422e-b029-1c7b523147e6.png) Test results with the Narrator. ![image](https://user-images.githubusercontent.com/102961955/177534075-3e10be5b-46f9-48b7-8542-d8ca167e38c2.png)

It appears that RestoreFocusMessageFilter holds ToolStrip and ToolStripAccessibleObject in memory. ![image](https://user-images.githubusercontent.com/102961955/177985012-ebc7d43b-d489-4e0d-9b94-365d4101163d.png)

Have found a simple way to leave no accessible objects or corresponding control class objects in the Heap. Result with the Inspect: ![image](https://user-images.githubusercontent.com/102961955/178154691-ebe15484-7910-4e1b-ba1f-bf1ba4f0328b.png) Result with the Narrator: ![image](https://user-images.githubusercontent.com/102961955/178154708-048173af-84df-44b0-9338-e467bc91b807.png) **UPD:** It...

Retested the fix: ![image](https://user-images.githubusercontent.com/102961955/179269085-874c45ad-7738-4082-99e5-760459ad1eb5.png) Inconsistent with CIT. Rebuilded the release dll's and requested retest on more time.

> @dkazennov Do we need to reactivate this issue? Yes I believe we need to reactivate this issue.