Bad mouse cursor offset in visual studio itself - visual-studio

I have something really weird going on and don't know where the problem lies..
I recently started working on a Lenovo X1 Carbon with touchscreen. When working with the touchpad or external mouse there seems to be some kind of a bad offset when clicking inside my visual studio working pane.
I have to click on the row above to get my cursor to be set on the row below. This ONLY happens in Visual Studio's working pane.
I need to click on the red square to get my cursor on the place it is in the picture and I have NO idea how to fix this :-( I couldn't find any problem like this on the web.
I'm working in Visual Studio Enterprise 2015 on a brand new system with all drivers up to date. Running Windows 10 enterprise on a UHD display, so my DPI is set at 200% and perhaps the problem lies here...

Related

Is there a way to adjust the cursor blink rate in Visual Studio 2015?

Is there a way to adjust the cursor blink rate in Visual Studio 2015? For example, in Notepad++ there is this window where I can adjust the blink rate:
Thank you
Its pretty simple and easy
Go to file--->preferences---->settings
Select search item as "cursor"
In the results section. Choose cursor blinking to "solid"
Here you go problem solved.
Visual Studio gets the cursor settings from your OS settings. You can stop the cursor from blinking by changing the cursor blink rate to "none".
Windows XP/7/8/8.1
Go to Control Panel.
Click on the Keyboard item.
Under "Change blink rate" move the slider to "none" position.
Windows 10
Due to the discontinuation of the Control Panel in Windows 10, and the absence of corresponding option in the new Settings app, the easiest way to bring up the Keyboard Properties window is to run the following command from the Run prompt.
control keyboard
The same command can be used in previous Windows versions if you find this method easier.
Visual Studio Code: Note that this does not work with Visual Studio Code per version 1.22.2, because unlike Visual Studio, Visual Studio Code has its own controls for displaying and animating the cursor.

Visual Studio 2012 Keyboard Freezing

I am having an issue within the razor view in Visual Studio 2012. For some reason, most of the time when I am trying to edit a style property, my keyboard freezes and doesn't allow me to type anything.
<section style="height: 15[Try to edit here]">
For instance, trying to add in a zero or 'px' where the "Try to edit here" has been placed above is impossible as the keyboard freezes.
I have ReSharper 7.1 installed, I'm not sure if that is the culprit?
Closing the tab and re-opening it fixes the issue, but it then re-occurs later on (not sure if there is a pattern as to when it re-occurs)
This happens to me often. I just switch tabs and come back and it doesn't happen(for sometime of course :-)). It could be some kind of unresolvable bug although i would suggest that you uninstall ReSharper and try again to see if it gets fixed.
It happens to me and my other colleagues as well.
I have found it to be linked to having a floating code window(s). Unlike the floating window for something like Find Results (without a title bar), these appear almost like another instance of Visual Studio. These do not come to the front when the main Visual Studio Window is selected. I have found the keyboard stops responding only on these windows if there is a Find Results kind of floating window open. When the problem occurs, clicking on another VS window and come back sorts it.
In earlier versions of VS, any pulled code windows appeared without a thick title bar and window controls box.
I tried posting images of the two kinds of floating windows but don't have enough reputation to do so! Let me know if it is confusing and I'll try to clarify.
This may not be the only way for this problem to occur but this is what I've observed consistently in the last few weeks of using Visual Studio 2012. I have C# environment settings with Resharper 7 and Reflector installed.

Visual Studio 2010 events button has disappeared

Hi I have been working with visual studio 2010 ultimate all day developing an asp.net webforms application.
I just realized that on the properties for controls window the button for events is missing , the one that looks like a thunderbolt.
An hour ago that button was there and now somehow it has disapeared and I can't figure out how to make it visible again.
I have tryed reseting the visual studio settings and reseting the computer but nothing worked
How can I get the button back?
I had the same problem. This helped me.
1.Restart visual studio 2010.
2.Click and select a control in markup page(.aspx)(like
3.After selecting , Click "View" in menu and select "Property window".
Check the property box, Thunderbolt ll be available. It just happened for me!
If the above solution not working go on with this!
1.Select design view in markup(.aspx)
2.Select any individual control like a button or label..
3.Now, you will be able to see a ">" button on the right side? Click it.
4.Remember to select only one control./.now check your property window! Whoohoo..
Actually while the solution above works, it puts you through more steps than you need. You can resolve this famous disappearing thunderbolt by simply clicking on Design view, and then clicking back on Source view, then clicking again to select the control in source view.
The Thunderbolt icon and events for the control will magically reappear.
You do not need to restart Visual Studio, and you do not need to select anything while in Design view.
And now, for my RANT about this annoying bug:
Even though this is easy to resolve, it is a MAJOR inconvenience to developers in my opinion, because we have to do this silly workaround all the freaking time.
This is in fact a BUG in Visual Studio. It has existed since at least Visual Studio 2010 (many users have reported it here and in MS forums across this and all later versions of VS). I have confirmed that this bug still exists in the latest build of Visual Studio 2022. So clearly MS has no plans to fix it.
[Rant Mode Off]
Cheers,-=Cameron

Dock Code Windows in Visual Studio 2010

In Visual Studio, you are able to dock code windows in horizontal and vertical tab groups (something you can also do with tool windows).
However, when doing so you may end up with a lot of redundant screen space. What would be ideal would be if you could mix docking orientations for code windows. This is possible with tool windows in Visual Studio 2010. Here is an image showing the feature used for tool windows:
My question is: is it possible to get this same functionality with the code windows - i.e. being able to mix horizontal and vertical docking, like with the tool windows shown? I've heard rumours that its possible, but I've been unable to find any truth in that.
I too wish this was a naitive feature in visual studio, but there is one workaround by using the 'floating tab group' feature of visual studio
Move the visual studio main window out of the way (maybe to another monitor, or to smallest area of the monitor needed to see the tooling windows)
"Tear out" or Right Click > Float on the desired tab
Position the tab to your desire (I suggest using WinSplitRevolution, via codinghorror)
Repeat, note that you can move a tab to an existing 'floating' tab group
And voila!
There are some setbacks, some commands will pop up over the main tooling window instead of your current tab group etc. but its still pretty nice. I'm not sure if there's any changes coming in VS2012, but I haven't heard about anything related.

How do you minimize a window in the Visual Studio 2010 RC editor?

I am using the Visual Studio 2010 RC. Sometimes when I am working on a code file, I would like to minimize it.
In Visual Studio 2008 I just switched to MDI mode. Then I could minimize. In 2010, I can undock the window by dragging the tab, and that gets me half way to MDI, but I see no way to minimize the window.
Does anyone know how to do this?
Update - Closely-related question: For those of you that used MDI, how are you getting by? I like to have 4 documents open at once, in a 2x2 matrix. For example I like to look at one controller/view pair while working on another, for the sake of comparison. Then, maybe I edit my repository file, and I want to get back to my 4 windows. This is where I would minimize. Anyone have a workaround? How have you adapted?
Update 2 - Vote up my suggestion if you want this feature:
https://connect.microsoft.com/VisualStudio/feedback/details/536110/please-offer-this-ultra-quick-alternative-to-a-minimize-feature-for-the-vs-2010-ide#
I think its disabled. I pressed Alt-Space in the undocked window and minimise was disabled.

Resources