Skip to content

TreeView freezes the IDE when added to tabpage #9002

Closed

Description

@GrapesOfWath

Environment

Visual Studio 2022 v17.5.4

.NET version

6.0

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

Diagnostics

No response

Activity

  1. added
    area-VSDesigner
    untriaged
    on Apr 19, 2023
  2. GrapesOfWath commented on Apr 19, 2023

    @GrapesOfWath
    Author

    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

  3. changed the title [-]TreeView causes infinite loading when added to tabcontrol[/-] [+]TreeView freezes the IDE when added to tabcontrol[/+] on Apr 19, 2023
  4. changed the title [-]TreeView freezes the IDE when added to tabcontrol[/-] [+]TreeView freezes the IDE when added to tabpage[/+] on Apr 19, 2023
  5. RussKie commented on Apr 19, 2023

    @RussKie
    Contributor

    Looks like the server process hangs switching back to the first page while trying to set the focus:
    image

  6. dmitrii-drobotov commented on Apr 19, 2023

    @dmitrii-drobotov
    Contributor

    Possibly a duplicate of #4336.

  7. removed
    untriaged
    on Apr 19, 2023
  8. Tanya-Solyanik commented on Apr 20, 2023

    @Tanya-Solyanik
    Contributor
  9. ghost locked as resolved and limited conversation to collaborators on May 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-VSDesigner

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions