Author |
Topic |
|
foxmuldr
Tomato Guru
USA
409 Posts |
Posted - Nov 14 2024 : 3:14:52 PM
|
I've reported this issue to Microsoft, and they've helped me track it down to the Visual Assist X extension: https://developercommunity.visualstudio.com/t/VS2022-keeps-losing-the-GitHub-Copilot/10786000?viewtype=all
I have an instance of Visual Studio 2022 (version 17.12.0) that is losing the upper-right GitHub Copilot, feedback icons. The same also occurred in 17.11.x using VAX 2520, and 2537.
If I uninstall or disable Visual Assist they come back. Or if I run the Visual Studio installer Repair, which uninstalls Visual Assist, then it also comes back.
I attached my .reg settings on the link above if you want to try to reproduce it. This is the only machine I have Visual Studio 2022 installed on, so it's the only one I have to test.
Thank you!
-- Rick C. Hodgin
|
|
feline
Whole Tomato Software
United Kingdom
19009 Posts |
Posted - Nov 15 2024 : 07:01:30 AM
|
When this happens, if you hover the mouse over where the buttons should be do you get a mouse tooltip?
We have had some problems with missing icons before, but they were on the toolbar, and have long since been fixed. So I am wondering if we are missing the graphic for the buttons, or if the entire button is gone.
Are you aware of a trigger for the problem? You say a repair fixes this, but does it only stay fixed while VA is disabled? Or does it break again as soon as VA is enabled? |
zen is the art of being at one with the two'ness |
|
|
foxmuldr
Tomato Guru
USA
409 Posts |
Posted - Nov 15 2024 : 12:27:51 PM
|
If I mouse over where they should be nothing happens.
As far as I can tell, the only thing that triggers it is Visual Assist being installed / uninstalled. And, it's been probably from 17.8 and later.
-- Rick C. Hodgin |
|
|
feline
Whole Tomato Software
United Kingdom
19009 Posts |
Posted - Nov 15 2024 : 1:28:55 PM
|
I am not seeing it here, and no one else seems to be reporting this so far. So, lets see if this is profile specific on your machine. Some odd problems are, so this could be.
To test this, can you first download the VS2022 specific installer for Visual Assist from:
https://downloadfiles.idera.com/WholeTomato/VA_X_Setup2537_0_x64.vsix
Next you will need extra details about the IDE install to create a test profile. To get these details, please open a Windows command prompt window, and inside the window run the command:
"%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe"
There will be a set of lines for each different version of Visual Studio that you have installed. For the version you want to install into, you want the "productPath", "dispalyName" and "installationVersion" lines, e.g.
productPath: C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\devenv.exe displayName: Visual Studio Professional 2022 installationVersion: 17.9.34607.119
You can then use the information from these three lines to make sure that the following command has the correct command line parameters. The values are:
/appidname: = displayName: /appidinstallpath: = productPath: /skuVersion: = installationVersion:
The "/skuName:" value is one of "Community / Pro / Enterprise", note for the Professional version it is "Pro", not the expected "Professional".
The working command, for VS2022, using the values above, is - split into lines to make it easier to read and edit:
"C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\VSIXInstaller.exe" /appidinstallpath:"C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\devenv.exe" /skuName:Pro /appidname:"Visual Studio Professional 2022" /skuVersion:17.9.34607.119 /rootSuffix:"VATest" "C:\Users\%USERNAME%\Downloads\VA_X_Setup2537_0_x64.vsix"
The "rootSuffix" is the name of the test profile you want to install to, and this will be created if it does not already exist. The final parameter is the path of the VSIX installer for Visual Assist that you want to install. Once you have the command set up, the only parts you should need to edit are the skuVersion and the path to the VSIX file, can you please close all instances of Visual Studio and run this command.
Running this command installs VA into the test profile, but it does not load the test profile. If you created the test profile by installing VA, when you run the test profile it will be using the default IDE settings, without asking you which settings you want to use.
To now load the test profile you use the command:
"C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\devenv.exe" /RootSuffix VATest
To load your normal, default profile just load the IDE normally. To return to this test profile again, pass the /RootSuffix command line switch when loading the IDE. You can run both profiles at the same time, next to each other. In VS2019 and VS2022 the profile name will be shown just under the close button, in the top right hand corner of the main IDE window. If you export your IDE settings from your main profile you can them import them into the test profile.
Do you see the same problem in the test profile, or do the buttons show up correctly there? |
zen is the art of being at one with the two'ness |
|
|
foxmuldr
Tomato Guru
USA
409 Posts |
Posted - Nov 15 2024 : 4:59:38 PM
|
productPath: C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\devenv.exe displayName: Visual Studio Professional 2022 installationVersion: 17.12.35506.116
The command I used to run (d:\downloads\vax\): "C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\VSIXInstaller.exe" /appidinstallpath:"C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\devenv.exe" /skuName:Pro /appidname:"Visual Studio Professional 2022" /skuVersion:17.12.35506.116 /rootSuffix:"VATest" "d:\downloads\vax\VA_X_Setup2537_0_x64.vsix"
It came up: VSIX Installer Install -- Visual Assist -- Digital Signature: None Clicked [Modify]. "Your modifications have been successfully applied..."
To launch: "C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\devenv.exe" /RootSuffix VATest
By default, comes up in dark mode. The icons are missing:
I told it to uninstall Visual Assist upon exit. Exited. It uninstalled. Re-ran the launch command again: "C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\devenv.exe" /RootSuffix VATest
It then shows the icons returned, along with the [VATEST] label, which I've never seen before (that label / text in that area):
-- Rick C. Hodgin
|
|
|
foxmuldr
Tomato Guru
USA
409 Posts |
Posted - Nov 15 2024 : 5:04:07 PM
|
Here's the full result: -----[ Begin ]----- C:\Users\rhodgin>"%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe" Visual Studio Locator version 3.1.7+f39851e70f [query version 3.12.29.16771] Copyright (C) Microsoft Corporation. All rights reserved.
instanceId: 330fe509 installDate: 5/4/2023 5:08:43 PM installationName: VisualStudio/17.12.0+35506.116 installationPath: C:\Program Files\Microsoft Visual Studio\2022\Professional installationVersion: 17.12.35506.116 productId: Microsoft.VisualStudio.Product.Professional productPath: C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\devenv.exe state: 4294967295 isComplete: 1 isLaunchable: 1 isPrerelease: 0 isRebootRequired: 0 displayName: Visual Studio Professional 2022 description: Professional IDE best suited to small teams channelId: VisualStudio.17.Release channelUri: https://aka.ms/vs/17/release/channel enginePath: C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\ServiceHub\Services\Microsoft.VisualStudio.Setup.Service installedChannelId: VisualStudio.17.Release installedChannelUri: https://aka.ms/vs/17/release/channel releaseNotes: https://docs.microsoft.com/en-us/visualstudio/releases/2022/release-notes-v17.12#17.12.0 resolvedInstallationPath: C:\Program Files\Microsoft Visual Studio\2022\Professional thirdPartyNotices: https://go.microsoft.com/fwlink/?LinkId=661288 updateDate: 2024-11-13T03:54:33.7655732Z catalog_buildBranch: d17.12 catalog_buildVersion: 17.12.35506.116 catalog_id: VisualStudio/17.12.0+35506.116 catalog_localBuild: build-lab catalog_manifestName: VisualStudio catalog_manifestType: installer catalog_productDisplayVersion: 17.12.0 catalog_productLine: Dev17 catalog_productLineVersion: 2022 catalog_productMilestone: RTW catalog_productMilestoneIsPreRelease: False catalog_productName: Visual Studio catalog_productPatchVersion: 0 catalog_productPreReleaseMilestoneSuffix: 6.0 catalog_productSemanticVersion: 17.12.0+35506.116 catalog_requiredEngineVersion: 3.12.2149.20818 properties_campaignId: 1707 properties_channelManifestId: VisualStudio.17.Release/17.12.0+35506.116 properties_nickname: properties_setupEngineFilePath: C:\Program Files (x86)\Microsoft Visual Studio\Installer\setup.exe
C:\Users\rhodgin> -----[ End ]-----
-- Rick C. Hodgin |
|
|
foxmuldr
Tomato Guru
USA
409 Posts |
Posted - Nov 18 2024 : 09:23:10 AM
|
I've tried going back to 2520, and 2511. Both of them exhibit the same behavior: When VA is installed, no icons. When it's uninstalled, icons.
The only possible unusual thing I'm doing is I also have Visual Studio 2008 Professional installed, and I have not been applying any of these update changes to that installation. I went with this one, and have been keeping it:
License: Standard (... / ...) Support ends 2025.03.27 VA_X.dll file version 10.9.2522.0 built 2024.05.31 DevEnv.exe version 9.0.21022.8 Professional msenv.dll version 9.0.21022.8 Font: Fantasque Sans Mono 13 (pixels) Comctl32.dll version 6.10.19041.4355 Windows 8 6.2 Build 9200 8 processors (x86-64, WOW64) Language info: 1252, 0x409
Platform: Win32 Stable Includes: C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include; C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\atlmfc\include; C:\Program Files\Microsoft SDKs\Windows\v6.0A\include; C:\Program Files\Microsoft SDKs\Windows\v6.0A\include;
Other Includes:
Stable Source Directories: C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\atlmfc\src\mfc; C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\atlmfc\src\mfcm; C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\atlmfc\src\atl; C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\crt\src;
Here's the option I choose when installing:
-- Rick C. Hodgin
PS -- Fantasque Sans Mono is the best programming font (https://www.programmingfonts.org/ and a no ligatures version is here: https://github.com/spinda/fantasque-sans-ligatures/releases). Liberation Mono is a close second because the bold text of its font is so much more pronounced than the non-bold text. It really punches on older font renders like those from the Windows XP / Server 2003 era. Of course, this is all just my opinion. I could be wrong. :-) |
Edited by - foxmuldr on Nov 19 2024 1:07:52 PM |
|
|
foxmuldr
Tomato Guru
USA
409 Posts |
Posted - Nov 19 2024 : 12:56:48 PM
|
I have been able to verify that enabling VA and launching VS 2022 comes up with the GitHub Copilot and feedback icons hidden. Disabling VA and launching VS 2022 comes up with the icons visible. I am able to do this in succession repeatedly.
Microsoft has asked me to send them a dump file of the devenv.exe process with the hidden icon condition (right-click the process in task manager, create dump file). We'll see what comes of it.
-- Rick C. Hodgin
|
|
|
feline
Whole Tomato Software
United Kingdom
19009 Posts |
Posted - Nov 20 2024 : 12:13:30 PM
|
If you have the time, can you try installing VA into the test profile, as I explained above? If you have any problems with the instructions I can try to explain more fully.
I have VS2008 installed here as well, and am not seeing the problem. So I doubt that is the trigger. |
zen is the art of being at one with the two'ness |
|
|
foxmuldr
Tomato Guru
USA
409 Posts |
Posted - Nov 20 2024 : 4:20:29 PM
|
I did. I gave you the results of installing it as you indicated. See the "Posted - Nov 15 2024 : 4:59:38 PM" comment. Might be different in your timezone, but it begins with:
productPath: C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\devenv.exe displayName: Visual Studio Professional 2022 installationVersion: 17.12.35506.116
The command I used to run (d:\downloads\vax\): ... It came up: VSIX Installer ... To launch: ... I told it to uninstall Visual Assist upon exit. Exited. It uninstalled. Re-ran the launch command again: ... It then shows the icons returned, along with the [VATEST] label, which I've never seen before (that label / text in that area):
It's my comment with the two pictures showing the results when VA is installed and enabled, or uninstalled, with the VATEST user.
-- Rick C. Hodgin
|
|
|
|
Topic |
|