Roslyn: IDE: Repeat key broken in overwrite mode

Created on 5 Dec 2019  路  9Comments  路  Source: dotnet/roslyn

Version Used: 16.5.0 Preview 1.0

Steps to Reproduce:

  1. Open a large solution (important. I can't repro this issue in small solution)
  2. Write a long line
var s = "The quick brown fox jumps over the lazy dog";
  1. Press Insert to switch to OVR mode
  2. Put cursor at the beginning of the line, then hold spacebar

Expected Behavior:
All characters overwritten by spaces

Actual Behavior:
Only half of the characters were overwritten, it skips one character after each space:

// before and after
var s = "The quick brown fox jumps over the lazy dog";
 a       T e q i k b o n f x j m s o e   h   a y d g ;
Area-External Bug

All 9 comments

(important. I can't repro this issue in small solution)

I can repro this in a default console app.

This doesn't seem to repro in non-Roslyn languages, so perhaps it really is a Roslyn problem (and not an Editor bug)...

The result is different every time, but here's an example:

OverwriteBug

@ronnygunawan How frequently is this impacting you? Is it something you do a lot, or did you just stumble on it once but expect it to not be a common action you take?

@olegtk Any ideas on how to diagnose this? Have you ever seen something similar?

wow, never seen anything like this. I can repro it on C# console app on 16.4, but only in cs file, not in App.config. Debugging...

Got it, please route the bug to the editor, @jinujoseph

@dpoeschl it's not really a common action that I take. I only do this when writing a console app with Console.Write("\r.........

@olegtk routed here

This has been fixed in VS-Platform/pullrequest/218467
Thank you for bringing this up to our attention!

Was this page helpful?
0 / 5 - 0 ratings