simonp22 / AnkhSVN

Apache License 2.0
29 stars 9 forks source link

Annotate does not work properly #1

Open RobertBauer14 opened 5 years ago

RobertBauer14 commented 5 years ago

Environment: Visual Studio 2019, Windows 7.

I open any cpp file in Visual Studio 2019. With right mouse click on the tab of the file i open the context menu. After i've choosen "Annotate.." i leave all properties in the upcoming dialog for "Annotate" as default. After clicking on OK the annotated file should be displayed in a new tab. But it just shows on the left side of the pane the first revision. The view region on the right side is blank.

When i use Visual Studio 2010 on the same computer with the original ankhSVN as extension all is fine. The cpp file is fully annotated with full revision informations on the left side of the pane and the complete file is displayed on the right side.

Rand-Random commented 5 years ago

image

ActivityLog shows the following:

  <entry>
    <record>836</record>
    <time>2019/05/02 13:53:28.360</time>
    <type>Information</type>
    <source>MruList</source>
    <description>Entering TryPromoteItem</description>
  </entry>
  <entry>
    <record>837</record>
    <time>2019/05/02 13:53:28.360</time>
    <type>Information</type>
    <source>MruList</source>
    <description>Did not find item to promote</description>
  </entry>
  <entry>
    <record>838</record>
    <time>2019/05/02 13:53:28.360</time>
    <type>Information</type>
    <source>CodeContainerTracing</source>
    <description>Entering MruItemsStoreServiceDecorator.AddMRUItem. Item category: 335041a8-b61a-4e9f-b0fe-d42dfa193855, lpszItem: %UserProfile%\AppData\Local\Temp\AnkhSVN\61b9\xxxx.xaml.cs|{00000000-0000-0000-0000-000000000000}|0,0|False</description>
  </entry>
  <entry>
    <record>839</record>
    <time>2019/05/02 13:53:28.521</time>
    <type>Error</type>
    <source>Editor or Editor Extension</source>
    <description>System.InvalidOperationException: Unable to get TextViewLine containing insertion point.&#x000D;&#x000A;   at Microsoft.VisualStudio.Text.MultiSelection.Implementation.SelectionUIProperties.get_ContainingTextViewLine()&#x000D;&#x000A;--- End of stack trace from previous location where exception was thrown ---&#x000D;&#x000A;   at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)</description>
  </entry>
mikeh36 commented 5 years ago

I've just being doing some testing of the install as we need to have it pre-installed on our lab computers. I get the same error as Rand-Random when I install it without having launched Visual Studio at least once. This is going to be a PITA.

RobertBauer14 commented 5 years ago

Hello Rand-Random and mikeh36, please create a new issue as this has nothing to do with the Annotate feature. AnkSVN works good on my computer except this feature.

Rand-Random commented 5 years ago

@RobertBauer14 This is the exception I am getting when I use the Annotate feature, so your definition of "has nothing to do with" is just wrong.

After this exception I am seeing the same as you have desribed the "But it just shows on the left side of the pane the first revision. The view region on the right side is blank."