I am using Visual Studio 2022 and for some reason it randomly stops registrate left mouse clicks

Shorty Pavlov 1 Reputation point

Hello I have a very annoying issue, I am working on a program right now that has nothing to do with mouse clicks or any key events,
For some reason it randomly decides to not let me left click anything in my form anymore I need to restart Visual Studio and then it works again for a little bit and randomly stops again ...

I am talking about while editing the windows forms program, like I try to click on a tool from the toolbox and then click on my form for example and it wont add it its just like visual studio does not know I did a left mouse click which is extremely weird cuz it worked fine every time before I used it

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,191 questions
{count} votes

1 answer

Sort by: Most helpful
  1. AnnaXiu-MSFT 15,406 Reputation points

    Hi @Shorty Pavlov ,

    Welcome to Microsoft Q&A!

    Does it only happen in Visual Studio? Can your mouse work on other apps?
    Please check your mouse and ensure that the problem is not related to hardware.

    If it is not a hardware fault, please temporarily disable all anti-virus software and do a full scan for your computer.

    Then, update your VS to the latest version through Visual Studio Installer.
    After that, disable all installed extensions under Extensions > Manage Extensions > Installed and create a new project to see if it works.

    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.

    0 comments No comments