Tony_Henrich
Tony_Henrich

Reputation: 44185

Missing cursor in Visual Studio editor after doing a search or using a clipboard manager. Works in safe mode

I have an odd behavior with Visual Studio 2010 editor. Whenever I do a search (ctrl-F) or do a paste using a clipboard manager like ClipX or Ditto, the cursor is missing. I have to click with the mouse inside the editor to get the cursor.

When I do these actions with Visual Studio running in safe mode, they work fine. So I thought it might be an extension or add-on causing this. I disabled all the add-ons and extensions and ran VS with /resetsettings and /setup but I still get the issue.

Any ideas on what might be going on?

UPDATE:

Switched to VS2012 which doesn't have this issue. VS2012 has the same extensions

Upvotes: 0

Views: 7112

Answers (3)

greg spears
greg spears

Reputation: 1394

Fix for: Visual Studio editor's text cursor disappears after changing focus to another app, and does not reappear.

None of the (many across web) posted solutions for the disappearing text cursor worked. I found a solution that works for me ... goto:

Tools/Options/Environment/General/Window layout

...there are 2 radio buttons:

  • Tabbed Documents
  • Multiple Documents

...you must select one or the other. I switched to 'Multiple Documents' and this solved the problem.

Side note: this problem manifests when changing the focus to any other open window/application via Alt+Tab. On return, Vis Studio has no text cursor visible. Ctrl+Tab is a sorry workaround, yet effective. But this fix is totally sat for me.

Upvotes: 0

Evgeny Gavrin
Evgeny Gavrin

Reputation: 7835

Your problem can be solved with different ways (depends on the cause). Try the following:

  • (Windows settings issue) go to Control Panel, Ease of Access Center, Make the computer easier to see, and under Make things on the screen easier to see set the thickness of the blinking cursor to 1
  • (Visual Studio issue) reset all settings in VS by Tools->Import and Export Settings->Reset All Settings. Restart VS and check. If problem is still actual then start devenv /safemode in VS2010 command prompt to avoid extension loaded and check the bahavior. This should help.

BTW This issue occurred quite often during the RC period of VS.

UPD Try removing C:\Users\%UserName%\AppData\Local\Microsoft\VisualStudio\10.0\Extensions this.

Upvotes: 1

Sepster
Sepster

Reputation: 4849

After following @arttronics' advice, I have some suggestions that may help (or of course, may not!) based on a bit of Google research.

I'd try these in the following order:

  1. Reduce the hardware acceleration in your video driver's settings.
  2. Disable WPF hardware acceleration (This is meant for the purpose of debugging your WPF-based application, but have seen discussion threads suggesting that disabling this will correct problems similar to what you've described)
  3. Enable single-click URL navigation as per Fernando Figueiredo's answer.

Hope something here helps.

Upvotes: 0

Related Questions