You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
TreeView freezes the IDE when added to tabpage #9002
Did this work in a previous version of Visual Studio and/or previous .NET release?
Unsure, haven't fiddled with VS in years
Issue description
Adding a TreeView to a tabpage causes the application to hang indefinitely when swapping to a different tabpage that contains controls.
Steps to reproduce
New Project
Add TabControl
Add controls to one page
Add treeview to another page
Go back to page without the treeview on it
Notice most of the controls don't render correctly
Either you freeze here, or you switch back to the tab with the treeview on it and then you freeze
also worth noting that the cursor doesn't change correctly to the 4 arrowed cursor that indicates moving a control when adding a treeview to the form, not sure if that's related to this issue or not
changed the title [-]TreeView causes infinite loading when added to tabcontrol[/-][+]TreeView freezes the IDE when added to tabcontrol[/+]on Apr 19, 2023
Activity
GrapesOfWath commentedon Apr 19, 2023
also worth noting that the cursor doesn't change correctly to the 4 arrowed cursor that indicates moving a control when adding a treeview to the form, not sure if that's related to this issue or not
[-]TreeView causes infinite loading when added to tabcontrol[/-][+]TreeView freezes the IDE when added to tabcontrol[/+][-]TreeView freezes the IDE when added to tabcontrol[/-][+]TreeView freezes the IDE when added to tabpage[/+]RussKie commentedon Apr 19, 2023
Looks like the server process hangs switching back to the first page while trying to set the focus:

dmitrii-drobotov commentedon Apr 19, 2023
Possibly a duplicate of #4336.
Tanya-Solyanik commentedon Apr 20, 2023
Indeed a duplicate of #4336, tracked i the designer repo by https://github.com/microsoft/winforms-designer/issues/2632