Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 GO button gets randomly huge on Visual Studio 2022
 New Topic  Reply to Topic
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

kuzniar
New Member

8 Posts

Posted - Jan 12 2023 :  11:24:10 AM  Show Profile  Reply with Quote
Hi,
I am using current version of Visual Assist and newest version of Visual Studio 2022 (Microsoft Visual Studio Professional 2022 (64-bit) -Current. Version 17.4.3). Randomly, but at least once a day I have a bug, that GO button (top left corner) gets big. The only way to make it small again is to close Visual Studio completely.




kuzniar
New Member

8 Posts

Posted - Jan 12 2023 :  11:26:01 AM  Show Profile  Reply with Quote
The effect with duplicated GO symbol is triggered by resizing the width of the window. I can't figure out what makes the go button so huge. It happens randomly when I am switching between tabs or moving tabs around the screen.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Jan 12 2023 :  11:26:48 AM  Show Profile  Reply with Quote
Which version of VA are you using?

Do you have more than one monitor on your system? If so, do they have different DPI settings?

Do you have a high refresh rate monitor?

My first theory is that there is something about your display configuration that is a factor.

Are you aware of any form or pattern to what triggers this problem?

If you close all open files, and then just open a single code file does this make any difference, or have you already tried this?

zen is the art of being at one with the two'ness
Go to Top of Page

kuzniar
New Member

8 Posts

Posted - Jan 12 2023 :  11:35:54 AM  Show Profile  Reply with Quote
Which version of VA are you using? - VA_X64.dll file version 10.9.2471.0 built 2022.11.25
Do you have more than one monitor on your system? - Yes 3 displays (1 from laptop <1920x1200 150% scale> and 2 external monitors <1920x1080 100% scale>)
Do you have a high refresh rate monitor? - 60 Hz each

At home I also connect to a single 4k display and the error occurs as well.
I can't tell when exactly this problem happens, I can't reproduce this problem as well. During the workday, on average this issue happens at least once.

If it happen again I will try to close all open files as you suggested
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Jan 12 2023 :  11:56:04 AM  Show Profile  Reply with Quote
When you are at home, are you connecting the laptop to the display, or is it just a system with a single display? It sounds like a system with just a single display, but I just wanted to be sure. This reminds me of some problems we had with monitors with different DPI settings, but these problems are all supposed to be fixed now.

Are you using any utilities to handle multiple monitors? For example I use Display Fusion, which has the feature to move a window to a different monitor via a keyboard shortcut. I am wondering if something else interacting with the IDE could be a factor.

Which programming language or languages are you using in your solution?

Do you have any other extensions installed?

zen is the art of being at one with the two'ness
Go to Top of Page

kuzniar
New Member

8 Posts

Posted - Jan 12 2023 :  12:04:15 PM  Show Profile  Reply with Quote
At home I connect my laptop to a single 4k monior using HDMI cable and I work on dual monitor setup (so my laptop + single external display).
I don't use any utilities to handle multiple monitors - just Windows (Windows 10 Enterprise, version - 21H2)
I am using C++
I have installed such extensions:
Clang Power Tools, Live Share 2022, Visual Studio Spell Checker (VS2022 and later), VSColorOutput64, Visual Assist, Test Adapter for Google Test, Close Tabs, File Icons

Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Jan 12 2023 :  12:34:10 PM  Show Profile  Reply with Quote
Thank you for explaining. So it could be multiple monitor related, or that might be a red herring.

I recognise most of these extensions, and would not expect any problems from any of them.

Would you be able to try running a test profile for a couple of days? The idea is a separate profile in Visual Studio with only Visual Assist installed as an extension, to see if this stops the problem from happening. By testing this in a separate profile we don't disturb your default profile and installed extensions.

zen is the art of being at one with the two'ness
Go to Top of Page

kuzniar
New Member

8 Posts

Posted - Jan 17 2023 :  05:00:14 AM  Show Profile  Reply with Quote
Yes, sure, do I need to enable something or just disable or other extensions?
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Jan 17 2023 :  07:18:39 AM  Show Profile  Reply with Quote
This is a little complex, but hopefully these instructions will be clear an easy to follow. Can you first download the VS2022 specific installer for Visual Assist from:

https://downloadfiles.idera.com/WholeTomato/VA_X_Setup2471_0_x64.vsix

Next you will need extra details about the IDE install to create a test profile, which you get from running:

"%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.3.32901.215

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.3.32901.215
/rootSuffix:"VATest" "C:\Users\%USERNAME%\Downloads\VA_X_Setup2471_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.

You should only have the default extensions plus Visual Assist installed into the test profile, so can you please try working in the test profile for a day or two, and see if you get this problem?

zen is the art of being at one with the two'ness
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Jan 23 2023 :  08:14:39 AM  Show Profile  Reply with Quote
A second report of the same problem, but so far no good idea of why it happens there either:

https://forums.wholetomato.com/forum/topic.asp?TOPIC_ID=20430

zen is the art of being at one with the two'ness
Go to Top of Page

kuzniar
New Member

8 Posts

Posted - Jan 31 2023 :  10:19:31 AM  Show Profile  Reply with Quote
It happened to me right now. 2 monitors + 3rd as laptop. During the build I was browsing web and using Alt + Tab to see what is going on with the build. And suddenly I can see that It got huge again.
For the last few days, the problem did not appear.
(No profiler installed yet)
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Feb 01 2023 :  06:20:56 AM  Show Profile  Reply with Quote
What file extension, sort of code file, were you working in when this happened? I am just wondering if you were working in a "normal" code file or something a little bit different, in case this offers a clue.

Either way, certainly not a one off problem.

zen is the art of being at one with the two'ness
Go to Top of Page

kuzniar
New Member

8 Posts

Posted - Feb 02 2023 :  03:33:18 AM  Show Profile  Reply with Quote
.cpp, .hpp, .h, CMakeLists.txt
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Feb 02 2023 :  05:55:39 AM  Show Profile  Reply with Quote
Totally normal files there, so no obvious clues. I was thinking of a bug report about problems with the VA navigation bar that used, from memory, XAML or HTML files where the IDE reported an error in the file structure, and interacting with the error message could trigger the problem. So much for that theory.

zen is the art of being at one with the two'ness
Go to Top of Page

khashfirestorm
New Member

United Kingdom
7 Posts

Posted - Feb 21 2023 :  09:55:44 AM  Show Profile  Reply with Quote
I have the same issue. Developing in Unity + VS + VA,
Microsoft Visual Studio Community 2022 (64-bit) - Current, Version 17.4.4
visual assist 10.9.2476.0 built 2023.01.19

Cofee->Code
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Feb 21 2023 :  1:05:15 PM  Show Profile  Reply with Quote
Are you seeing this with the same file extensions as above, or are you seeing this with different file extensions?

Is there any form of pattern that you have noticed to this problem? It is very rare, but with several different people seeing it I am wondering if there is a common trigger.

zen is the art of being at one with the two'ness
Go to Top of Page

androidqueen
Starting Member

USA
1 Posts

Posted - Mar 08 2023 :  12:48:46 PM  Show Profile  Reply with Quote
Just adding that I am also periodically getting this issue.

Visual Studio 2022
VA_X64.dll file version 10.9.2471.0 built 2022.11.25
Single ultrawide monitor
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Mar 09 2023 :  10:27:43 AM  Show Profile  Reply with Quote
Which file extension or extensions do you see this in?

Any hints of a pattern or a trigger for this?

zen is the art of being at one with the two'ness
Go to Top of Page

Uniwares
Tomato Guru

Portugal
2322 Posts

Posted - Mar 09 2023 :  11:30:49 AM  Show Profile  Reply with Quote
Noticed that sometimes the button doesnt get notably bigger, but the whole navigation bar gets a few pixels larger, and the area that is outside the VA controls becomes a no-redraw area.
Go to Top of Page

Uniwares
Tomato Guru

Portugal
2322 Posts

Posted - Mar 21 2023 :  11:34:19 AM  Show Profile  Reply with Quote
A few more insights: when VS loads an solution, it also loads the previously opened documents, but it does not instantiate them until they become visible the first time. What I noticed is that when I activate such a tab for the first time, there is this slight calculation error which leaves 2 pixels space under the VA navbar that doesn't get repainted ever. When I open a document from the solution or somewhere else, the VA navbar is automatically those 2 pixels larger and no unpaintable area is left. This is not exactly the effect of the large button, but points to a general sizing problem when instantiating the navbar. Probably some post-initialize resize of the editor area that passes unnoticed from VA. My guess is that it has to do with font sizing/scaling, thus it probably doesn't happen on "standard" display settings. Just guessing.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Mar 21 2023 :  1:05:40 PM  Show Profile  Reply with Quote
Urg! I have looked up some settings you sent me, Feburary 2023, and imported them into Windows 10, VS2022 with VA 2476.0

I then set up a test for this with multiple different file extensions, but no sign of what you are seeing. But when opening a .cs or .cpp file I get this:



I assume this is what you are describing. Now to figure out the trigger, if possible.

Which still leaves the question of why I am seeing this under different conditions to you.

zen is the art of being at one with the two'ness
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Mar 28 2023 :  11:38:15 AM  Show Profile  Reply with Quote
Finally got it happening on demand. At first it happened, but then when I tried to reproduce it I could not get it to happen reliably. For me it is related to first closing and then opening code files. Just opening files without closing them isn't enough to trigger it. Also it depends on the IDE Environment font and color settings, probably the size of IDE elements.

case=149335

Hopefully this will offer a clue as to the really tall navigation bar problem as well.

zen is the art of being at one with the two'ness
Go to Top of Page

equalent
Starting Member

Georgia
1 Posts

Posted - Apr 10 2023 :  05:02:46 AM  Show Profile  Reply with Quote
This exact thing happened to me as well, twice already. VS 2022 17.5.3, VA 2476, a single 2560x1440 monitor with 100% scale
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Apr 11 2023 :  10:55:40 AM  Show Profile  Reply with Quote
Which file extensions are you getting this problem with?

Are you aware of any form of pattern to this bug? Anything that might be a possible trigger? Clearly there is a problem here, but I am not really making any progress reproducing this here so far, which is clearly unhelpful.

zen is the art of being at one with the two'ness
Go to Top of Page

ClementC
New Member

3 Posts

Posted - Apr 18 2023 :  1:00:40 PM  Show Profile  Reply with Quote
Hi, I'm getting the exact same issue, that's what I'm using:
VS Community 2022, VA 2022.3
VA_X64.dll file version 10.9.2458.0 built 2022.07.29
DevEnv.exe version 17.4.33103.184 Community
msenv.dll version 17.0.33103.184
Comctl32.dll version 6.10.22621.436
Windows 11 11.0 22H2 Build 22623
8 processors (x86-64)
Language info: 1252, 0x809

I only have Visual Assist and P4VS installed as extensions.
I'm using two monitors but they are exactly the same model, same resolution, same DPI. It seems to happen when I tab out to another software and back in. I've seen it happen only with .cs files but when I use cpp I don't tab out as much so it may be why?

It happened around 10 times today and can't find any way to solve it other than restarted VS which is not great : (
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Apr 19 2023 :  06:23:48 AM  Show Profile  Reply with Quote
Thank you for the details. Would it be possible to get a copy of your settings? I can at least try them and see if I can reproduce the narrow band of not drawn screen bug, which may or may not be related to this. At least I did manage to reproduce that bug on demand. To export your settings you can use:

VA Options -> Performance -> Export Settings
IDE tools menu -> Import and Export Settings -> Export selected environment settings

Please send me the files via email:

[email protected]

including this thread ID or URL in the description, so we can match it up.

zen is the art of being at one with the two'ness
Go to Top of Page

ClementC
New Member

3 Posts

Posted - Apr 19 2023 :  06:34:58 AM  Show Profile  Reply with Quote
Thank you for the swift reply! I've emailed the settings as you requested, I hope it helps!
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Apr 19 2023 :  07:12:04 AM  Show Profile  Reply with Quote
Thank you for the settings. Unfortunately no sign of the problem yet, but there is good news. We believe we have found and fixed the problem internally, and the fix will be in the next release.

Since we are finding this very difficult to reproduce on demand we are not totally sure of the fix, but are hopeful.

For now, is turning off the VA navigation bar, via:

VA Options -> Display -> Display VA Navigation Bar:

a solution? Since you are seeing this so often, rather than occasionally, it might be worth it. This will stop the Alt-M list working, but you can still use VA Outline to get a sense of the current file, and to jump to functions in the file.

zen is the art of being at one with the two'ness
Go to Top of Page

ClementC
New Member

3 Posts

Posted - Apr 19 2023 :  08:09:27 AM  Show Profile  Reply with Quote
Yes, thank you, I will disable it for now, I didn't even think of that (sometimes you just get annoyed at things and don't realise you could easily turn it off).
I use Alt-M quite a lot to jump to functions but I can definitely live without it until the next release : )

Thanks a lot!
Go to Top of Page

tbrammer
New Member

Germany
7 Posts

Posted - Apr 25 2023 :  06:45:17 AM  Show Profile  Reply with Quote
I have the same problem.
I can solve it either by disabling the VA Navigation bar or by restarting VS 2022. Both options are nonsatisfying.
I'm using two monitors. The one with VS running is in portait mode, the other one landscape.
They are connected to a docking station. I switch between working from home and in the office.
My monitors in the office have different types and resolutions then the ones at home.
I take my laptop and the docking station with me.

VAX System info: (some private data xxx-ed)
License: Standard xxxxx Support ends 2026.xx.xx
VA_X64.dll file version 10.9.2476.0 built 2023.01.19
DevEnv.exe version 17.5.33516.290 Enterprise
msenv.dll version 17.0.33516.290
Comctl32.dll version 6.10.19041.1110
Windows 10 10.0 21H2 Build 19044.2846
20 processors (x86-64)
Language info: 1252, 0x407

Platform: Project defined
Stable Includes:
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.29.30133\atlmfc\include;
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.29.30133\include;
C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\Include\um;
C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\cppwinrt;
C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\winrt;
C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\shared;
C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\um;
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\VS\UnitTest\include;
C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt;
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\VS\include;
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.35.32215\atlmfc\include;
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.35.32215\include;
X:\xxx
C:\Program Files (x86)\Windows Kits\10\Include\10.0\ucrt;
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\atlmfc\include;
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include;

Other Includes:

Stable Source Directories:
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.29.30133\crt\src;
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.29.30133\atlmfc\src\atl;
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.29.30133\atlmfc\src\mfcm;
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.29.30133\atlmfc\src\mfc;
C:\Program Files (x86)\Windows Kits\10\Source\10.0.22621.0\ucrt;
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\VS\src;
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.35.32215\crt\src;
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.35.32215\atlmfc\src\atl;
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.35.32215\atlmfc\src\mfcm;
C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.35.32215\atlmfc\src\mfc;
C:\Program Files (x86)\Windows Kits\10\Source\10.0\ucrt;
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\crt\src;
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\atlmfc\src\atl;
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\atlmfc\src\mfcm;
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\atlmfc\src\mfc;

Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Apr 25 2023 :  09:36:16 AM  Show Profile  Reply with Quote
We are finding this very difficult to reproduce on demand, but we do think we have a fix for this internally. ClementC and tbrammer I have emailed you about this.

zen is the art of being at one with the two'ness
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Next Page
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000