Visual Studio 2019 Workflow Designer- Delete option from context menu is disabled on first right click

Aartik 1 Reputation point
2022-05-24T04:45:11.413+00:00

When we right click on an argument and try to delete it in the Arguments pane of the Workflow designer in Visual Studio 2019, the delete option in the context menu is disabled for the first time. When we right click again on the same argument the delete option get enabled in the context menu.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,606 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,248 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Tianyu Sun-MSFT 27,271 Reputation points Microsoft Vendor
    2022-05-24T08:53:06.917+00:00

    Hi @Aartik ,

    Welcome to Microsoft Q&A forum.

    I can reproduce this issue, and I have reported this issue on our Developer Community, here is the link. Please follow up the thread there and if you have any other details to fill, feel free to add comments there.

    • Update1:

    Workaround => changing the values of attribute Switch.UseLegacyAccessibilityFeatures(1~4) from false to true in devenv.exe.config file(for VS 2019 Community, it’s in C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE folder, and you may need to assign the permissions for this file to modify it). See details here.

    Thanks for helping us make Visual Studio better.

    Best Regards,
    Tianyu

    • If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
      Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.