Quantcast
Channel: YouTrackReSharper (RSRP) - Bug and Issue Tracker
Viewing all articles
Browse latest Browse all 106942

RSRP-294159: Using Context Action menu causes document to become uneditable when there are multiple choices

$
0
0
Reporter Christopher Currens (Christopher.Currens) Christopher Currens (Christopher.Currens)
Created Apr 13, 2012 1:12:37 AM
Updated Apr 16, 2018 12:45:25 PM
Resolved Apr 16, 2018 12:45:25 PM
Subsystem Context Actions
Assignee Alisa Afonina (alisa.afonina)
Priority Normal
State Obsolete
Type Bug
Fix version Backlog
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions
If you bring up and use the context action menu on an undocked window (that is not attached to the main IDE window), using Alt+Enter you will no longer be able to edit the document, until the window loses focus to another visual studio window. This will only happen if there are multiple choices in the context action menu that appears. The document will be read-only regardless if you select one of the choices in the menu.

Steps to reproduce:

Create a new project with two .cs files. In one, put the following code:

namespace Thing1
{
public class Thing
{
}
}

namespace Thing2
{
public class Thing
{
}
}

Open the other .cs file (it should be blank), and undock it from the main IDE window. You can leave it minimized, or you can maximize it on another monitor. Put the following code in the window:


namespace Test
{
class Program
{
static void Main(string[] args)
{
Thing
}
}
}

Press Alt+Enter to bring up the context menu over "Thing". If you select one of the choices or just click away, you cannot edit the document. If you bring focus to the main IDE and back to the attached window, you can edit it again. Notice the window will also append "[Read Only]" to the title.

Viewing all articles
Browse latest Browse all 106942

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>