Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio IDE issues with clicking/selecting items

I'm having issues with my Visual Studio where, when I try to click on or select something, my cursor seems to be clicking on or selecting something else. It's like Visual Studio is interpreting my cursor to be somewhere else within the IDE.

Examples: I'm trying to scroll but any click on the scroll bar is opening up the Error List panel at the bottom and randomly clicking on warnings and errors. If I try to click on the right side of the scroll bar, random files are selected and opened from Solution Explorer.

This also frequently occurs when I try to search (Control F) and clicking in the search bar will select files in the Solution Explorer.

Information: I have Visual Studio open in a second monitor that is larger than my first. If I move Visual Studio back to the first, the problem is fixed, so I'm thinking it has something to do with resolution issues moving from one monitor to the next. I'd like to keep VS in my second monitor because it provides more room to look at code.

I've tried researching this issue and just haven't been able to find anyone with similar experiences. Does anyone know why this could be happening and what I can do to solve it?

Edit: Forgot important information about versions and OS. I'm on Windows 10 running VS Enterprise 2019. In the Display Settings, I have 'Extend these Displays' with the recommended resolutions.

like image 997
Cameron Avatar asked Nov 07 '25 01:11

Cameron


1 Answers

I had the same issue and managed to fix it using this workaround:

  1. Go to Tools > Options > Environment/General
  2. Uncheck Optimize rendering for screens with different pixel densities
  3. Restart Visual Studio
like image 107
Mohammad Anini Avatar answered Nov 10 '25 00:11

Mohammad Anini



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!