TrimbleSolutionsCorporation / VSSonarQubeExtension

This is a SonarQube Extension for Visual Studio
http://visualstudiogallery.msdn.microsoft.com/7fc312c3-f1ab-49f8-b286-dbf7fff37305
GNU Lesser General Public License v3.0
23 stars 15 forks source link

Black configuration screen in VS 2017 #266

Closed sidewinder94 closed 6 years ago

sidewinder94 commented 6 years ago

Hi,

When opening the Sonar -> configuration menu, the option page which is opened is solid black, which makes it impossible to configure the extension for VS 2017.

Visual studio version : 2017 Version 15.2 (26430.6) Release VSSonarExtension version : 1.0

Thanks

jmecosta commented 6 years ago

1.0 version is a bit behind? Can you try with latest

On Mon, 7 Aug 2017, 15:45 Antoine-Ali Zarrouk, notifications@github.com wrote:

Hi,

When opening the Sonar -> configuration menu, the option page which is opened is solid black, which makes it impossible to configure the extension for VS 2017.

Visual studio version : 2017 Version 15.2 (26430.6) Release VSSonarExtension version : 1.0

Thanks

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/TrimbleSolutionsCorporation/VSSonarQubeExtension/issues/266, or mute the thread https://github.com/notifications/unsubscribe-auth/AA_jyBREc4O3lfX65VLN1SVzhFPvh1eoks5sVxUBgaJpZM4OvdU_ .

sidewinder94 commented 6 years ago

This is apparently the latest on the VS gallery, I'll try with the one in the release page

jmecosta commented 6 years ago

Then it's 6.3.3 marketplace.visualstudio.com/items?itemName=JorgeManuelEstevesdaCosta.VSSonarExtension2017

Can you share what other extension you have installed? I'm not aware of any issues in 2017 so it might be some problems with other extension

On Mon, 7 Aug 2017, 19:43 Antoine-Ali Zarrouk, notifications@github.com wrote:

This is apparently the latest on the VS gallery, know where I can find a new version ? Or do I need to build it from source ?

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/TrimbleSolutionsCorporation/VSSonarQubeExtension/issues/266#issuecomment-320731176, or mute the thread https://github.com/notifications/unsubscribe-auth/AA_jyNvl0KBQXDa0RBGTcxvBMunulOjnks5sV0ykgaJpZM4OvdU_ .

sidewinder94 commented 6 years ago

Confirmed the Black options using the 6.3.3 from the release tab of this github repo. Installed extensions are :

And I believe th rest of them was installed with Visual studio.

jmecosta commented 6 years ago

Could you try to remove resharper? Just to confirm? Pretty sure it's not ozcode?

On Tue, 8 Aug 2017, 17:04 Antoine-Ali Zarrouk, notifications@github.com wrote:

Confirmed the Black options using the 6.3.3. Installed extensions are :

  • Productivity Power Tools
  • Resharper
  • OzCode
  • Microsoft Visual studio 2017 installer projects

And I believe th rest of them was installed with Visual studio.

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/TrimbleSolutionsCorporation/VSSonarQubeExtension/issues/266#issuecomment-320984424, or mute the thread https://github.com/notifications/unsubscribe-auth/AA_jyDSDkvAcmLiFuHGlT4zkRSpCpq8Uks5sWHj0gaJpZM4OvdU_ .

sidewinder94 commented 6 years ago

Tried, no effect. I'm using a Dark Theme in VS if that has an influence.

jmecosta commented 6 years ago

Ah ok, then that explains it. Can you try change the theme?

On Wed, 9 Aug 2017, 11:17 Antoine-Ali Zarrouk, notifications@github.com wrote:

Tried, no effect. I'm using a Dark Theme in VS if that has an influence.

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/TrimbleSolutionsCorporation/VSSonarQubeExtension/issues/266#issuecomment-321200942, or mute the thread https://github.com/notifications/unsubscribe-auth/AA_jyCXEJRwWlHgQ9CcDymggjNkuudQSks5sWXkhgaJpZM4OvdU_ .

sidewinder94 commented 6 years ago

Tried, the options window is still solid black except the title bar.

jmecosta commented 6 years ago

Can you past some pics?

On Thu, 10 Aug 2017, 09:36 Antoine-Ali Zarrouk, notifications@github.com wrote:

Tried, the options window is still solid black except the title bar.

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/TrimbleSolutionsCorporation/VSSonarQubeExtension/issues/266#issuecomment-321475417, or mute the thread https://github.com/notifications/unsubscribe-auth/AA_jyLtVqI0jxErqreaal52syD4ESh7rks5sWrL2gaJpZM4OvdU_ .

sidewinder94 commented 6 years ago

Here you go, light theme and resharper deactivated : capture

jmecosta commented 6 years ago

@sidewinder94 do you mind testing iwth this https://github.com/TrimbleSolutionsCorporation/VSSonarQubeExtension/releases/download/6.3.4/VSSonarExtensionMetroVs2017.vsix

sidewinder94 commented 6 years ago

Hi, I installes the new version and checked it was displaying the new version in the extension list (6.3.4).

Still the black options window.

Do you have any logs that I could send ?

jmecosta commented 6 years ago

i cant replicate this. ive already installed all your extensions and works with all themes. would it be possible to test this in a clean visual studio without anything installed? first you install sonar extension, and then all others you use to see if can find the one causing the incomptibility. this is my configuration:

Microsoft Visual Studio Enterprise 2017 Version 15.2 (26430.14) Release VisualStudio.15.Release/15.2.0+26430.14 Microsoft .NET Framework Version 4.7.02053

Installed Version: Enterprise

Architecture Diagrams and Analysis Tools 00369-60000-00001-AA398 Microsoft Architecture Diagrams and Analysis Tools

Visual Basic 2017 00369-60000-00001-AA398 Microsoft Visual Basic 2017

Visual C# 2017 00369-60000-00001-AA398 Microsoft Visual C# 2017

Visual C++ 2017 00369-60000-00001-AA398 Microsoft Visual C++ 2017

Visual F# 4.1 00369-60000-00001-AA398 Microsoft Visual F# 4.1

Application Insights Tools for Visual Studio Package 8.6.00404.2 Application Insights Tools for Visual Studio

ASP.NET and Web Tools 2017 15.0.30503.0 ASP.NET and Web Tools 2017

ASP.NET Web Frameworks and Tools 2017 5.2.50303.0 For additional information, visit https://www.asp.net/

Azure App Service Tools v3.0.0 15.0.30209.0 Azure App Service Tools v3.0.0

ClangFormat 1.0 Formats code by calling the clang-format executable.

Common Azure Tools 1.9 Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

GhostDoc 5.5.17070.0 Generate XML Comments from your code, maintain clean and up-to-date documentation, produce help documentation in multiple formats, use intelligent source code Spell Checker in Visual Studio.

Google Test Adapter 1.0 Google Test Adapter adds support for the C++ test framework Google Test

JavaScript Language Service 2.0 JavaScript Language Service

JavaScript Project System 2.0 JavaScript Project System

JavaScript UWP Project System 2.0 JavaScript UWP Project System

JetBrains ReSharper Ultimate 2017.1.3 Build 108.0.20170613.154143 JetBrains ReSharper Ultimate package for Microsoft Visual Studio. For more information about ReSharper Ultimate, visit http://www.jetbrains.com/resharper. Copyright © 2017 JetBrains, Inc.

KofePackagePackage Extension 1.0 KofePackagePackage Visual Studio Extension Detailed Info

Merq 1.1.17-rc (cba4571) Command Bus, Event Stream and Async Manager for Visual Studio extensions.

Microsoft Azure Tools 2.9 Microsoft Azure Tools for Microsoft Visual Studio 2017 - v2.9.50131.1

Microsoft MI-Based Debugger 1.0 Provides support for connecting Visual Studio to MI compatible debuggers

Microsoft Visual Studio VC Package 1.0 Microsoft Visual Studio VC Package

Mono Debugging for Visual Studio Mono.Debugging.VisualStudio Support for debugging Mono processes with Visual Studio.

Node.js Tools 1.3.50417.1 Adds support for developing and debugging Node.js apps in Visual Studio

NuGet Package Manager 4.2.0 NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

OpenCoverUISettings 1.0 Visual Studio Integration for OpenCover

OpenCppCoverage 1.0 See https://opencppcoverage.codeplex.com/ for more details

OzCode 1.0 Your road to Magical Debugging. http://www.oz-code.com

OzCodePackage Extension 1.0 OzCodePackage Visual Studio Extension Detailed Info

Sandcastle Help File Builder SHFB Visual Studio integration for the Sandcastle Help File Builder. https://GitHub.com/EWSoftware/SHFB

SQL Server Data Tools 15.1.61702.140 Microsoft SQL Server Data Tools

TypeScript 2.2.2.0 TypeScript tools for Visual Studio

Visual C++ for Linux Development 1.0.6 Visual C++ for Linux Development

Visual Studio tools for CMake 1.0 Visual Studio tools for CMake

Visual Studio Tools for Universal Windows Apps 15.0.26430.06 The Visual Studio Tools for Universal Windows apps allow you to build a single universal app experience that can reach every device running Windows 10: phone, tablet, PC, and more. It includes the Microsoft Windows 10 Software Development Kit.

WiX Toolset Visual Studio Extension 0.9.21.62588 WiX Toolset Visual Studio Extension version 0.9.21.62588 Copyright (c) .NET Foundation and contributors. All rights reserved.

VSSonarExtension 1.0 This is a visual studio extension to provide an interface to a Sonar server

Xamarin 4.5.0.486 (fec6f88) Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android SDK 7.3.1.2 (9dbc4c5) Xamarin.Android Reference Assemblies and MSBuild support.

Xamarin.iOS and Xamarin.Mac SDK 10.10.0.37 (ad35de4) Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.

sidewinder94 commented 6 years ago

Confirmed that it worked in the experimental instance of VS 2017.

I'm now in the process of activating all the extensions to try and see if one is interfering.

sidewinder94 commented 6 years ago

Ok, now this is weird.... I've activated all of the extensions I had on my main instance of VS on the experimental instance, and it still worked.....

But the options screen is still black on my main instance....

sidewinder94 commented 6 years ago

I didn't found which was the conflicting extension, but found a workaround.

I deactivated all of the other extensions, then ran VS with only VSSonarQubeExtension.

The configuration screen then loaded.

I then reactivated all the other extensions and it continued to work.

The load order of the extensions might be in cause, but since I know nearly nothing about VS extensions, I can't tell you any more.

Thanks for taking time though

I'm still available if I can give any more informations

jmecosta commented 6 years ago

ok good you manage to workaound. i close the issue we were not able to find a reproducable method.

Mariachi1231 commented 6 years ago

Hey, i have the same issue in VS2015 Community

Mariachi1231 commented 6 years ago

On Enterprise it works fine, but in community i get a black screen

Mariachi1231 commented 6 years ago

Okay, i have removed the resharper and it start working

jmecosta commented 6 years ago

yes

casimo commented 6 years ago

Hello, I have the same problem, I just see a black configuration dialog with no possiblities to configure any thing! My questions here are: Why does this extension depend on other extensions? I mean, why should all other extensions habe to be deinstalled/disabled for using this one? Is that problem maybe the theme the extension uses? Does this extension (realy) need a theme (K.I.S.S. => Keep It Simple & Smart)? Thank you a lot for solving this bug.

image

jmecosta commented 6 years ago

@casimo this extension does not depend on other extensions. and there is no theme, there is a theme for visual studio and depending on it it will adjust the colors to look ok according to that visual Theme, so black, black, blue, blue.

the dependency, it seems to be related with a external library http://mahapps.com/ that we use, and it seems resharper also uses it. so if those are using a different version then it might cause this. at least that is my suspicion.

Unfortunately this is not something i can solve, unless i remove the dependency to that library. But then i would need to right my own custom styles and it would not make it so K.I.S.S.