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
 nav bar gets thrown off (again)
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Uniwares
Tomato Guru

Portugal
2137 Posts

Posted - Apr 29 2021 :  10:10:51 AM  Show Profile  Reply with Quote
I have reported this already as happening when switching users, but its happened now while browsing from the VS class browser, out of nowhere in a code preview window the navbar got glued to the screen top instead of the code window.
The space where the navbar should be is with remains of the previous content.



Just reporting, make it a +1 in your bug DB. I know its one of those impossible to track down. No repro.

feline
Whole Tomato Software

United Kingdom
17416 Posts

Posted - Apr 29 2021 :  11:18:01 AM  Show Profile  Reply with Quote
Strange that this is happening with different triggers. I was able to reproduce this, just, when opening a "*.designer.cs" file with an error. I have added this situation to the bug report:

case=142260

so far we have not been able to find the root cause of the bug, which is always frustrating, but we are aware of this.

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

Uniwares
Tomato Guru

Portugal
2137 Posts

Posted - Apr 29 2021 :  11:24:33 AM  Show Profile  Reply with Quote
Actually when using the VS class view to open a file in preview mode, this seems pretty frequent. Or it may just be that VS is now in an unstable state? using VS 16.9.4 now. No, just restarted VS, loaded a project and went right into the class browser. No VA navbar when opening a class from there. Maybe you can repro this?
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
17416 Posts

Posted - Apr 29 2021 :  12:37:57 PM  Show Profile  Reply with Quote
Are you searching / filtering class view, or just scrolling through it?

Opening items from the top half of class view, the tree control, or the bottom half, the list of members?

So far no sign of the problem here, using your settings and extensions. But I am just picking out classes somewhat at random from the tree control.

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

Uniwares
Tomato Guru

Portugal
2137 Posts

Posted - Apr 30 2021 :  04:26:35 AM  Show Profile  Reply with Quote
I've sent you a screen recording detailing the process and effects. Included are the actual VS settings.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
17416 Posts

Posted - Apr 30 2021 :  12:26:41 PM  Show Profile  Reply with Quote
I have the recording, thank you for this. This is really easy for you to reproduce, but still no sign of the problem here, even with your latest settings.

A couple of random thoughts. First, is this solution specific by any chance? It seems unlikely, but not impossible.

A second thought. Can you please export your VA settings before this test:

VA Options -> Performance -> Export Settings

There is a rare bug where the Alt-M list is drawn far to short, only enough height for 2 or 3 items, regardless of how many items it actually contains. I have never really managed to reproduce this, but have discovered that, somehow, deleting the VA settings via regedit, and deleting:

HKEY_CURRENT_USER\SOFTWARE\Whole Tomato\Visual Assist X\VANet16
the "problem" with this solution is that exporting and importing these registry keys doesn't let me reproduce the problem. Since you are also seeing a problem with the display of the navigation bar, and the Alt-M list position, its a quick test.

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

Uniwares
Tomato Guru

Portugal
2137 Posts

Posted - May 03 2021 :  04:18:20 AM  Show Profile  Reply with Quote
Settings sent. The problem is not solution specific, happens equally in other C# projects (.NET core, Framework 4.8, Framework 5.0).
Now I just ran the same test in a new profile. Only the default VS extensions installed, with exactly the same results - when opening from the Class View, the navbar is off.
Go to Top of Page

Uniwares
Tomato Guru

Portugal
2137 Posts

Posted - May 04 2021 :  09:21:59 AM  Show Profile  Reply with Quote
The reg key hack doesnt change anything at all. Maybe its something related to windows settings? anything is possible.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
17416 Posts

Posted - May 04 2021 :  09:49:17 AM  Show Profile  Reply with Quote
I have your VA settings as well, thank you for these. Still no sign of the problem here.

OK, since you are seeing the problem with a test profile, and its not solution specific, it suggests the trigger / condition lies outside of the IDE.

I am testing on Windows 10 Pro, version 20H2, OS build 19042.964

How many monitors are you using?
Are you using a high refresh rate on one of your monitors?
Any other system software, apart from "Winaero Tweaker" that might be a factor?

Are all of your drivers up to date?

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

Uniwares
Tomato Guru

Portugal
2137 Posts

Posted - May 04 2021 :  10:24:11 AM  Show Profile  Reply with Quote
Windows 10 Home, 20H2, 19042.928, Asus Drivers all over, 1 external monitor (its a notebook, not using the built-in one, but same effect on any monitor and resolution), no high refresh, all drivers updated. No other system software that might change the system, besides a bunch of device drivers for special external devices (barcode readers, industry cameras, etc). But none of those should really matter.

What I was thinking about now, could it be that side-by-side installations of VS versions have an influence? Currently I do have VS 2019 Community 16.9.4, Visual Studio Code and VS2019 16.10 preview 2.1 installed. All with the same extensions (where possible).
Go to Top of Page

Uniwares
Tomato Guru

Portugal
2137 Posts

Posted - May 04 2021 :  10:57:47 AM  Show Profile  Reply with Quote
I tested now a new VS profile, only extension installed is VA (besides the default VS extensions). Same thing. With the VS navbar enabled, or without. Dark Theme or light, always the same effect. But the VS class viewer is the only place from where this is always reproducible.
Go to Top of Page

Uniwares
Tomato Guru

Portugal
2137 Posts

Posted - May 04 2021 :  11:03:50 AM  Show Profile  Reply with Quote
Actually, no. When I enable "Preview selected" in the solution explorer it happens too, when selecting any file.
Go to Top of Page

Uniwares
Tomato Guru

Portugal
2137 Posts

Posted - May 04 2021 :  11:19:44 AM  Show Profile  Reply with Quote
Interesting: i managed to get a .cs file in preview from the solution explorer totally WITHOUT the VA navbar and WITHOUT the empty space. Alt+M wouldnt open anything. But, after clicking into the file, the navbar would return as normal. Had something to do with floating tabs, not sure what.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
17416 Posts

Posted - May 04 2021 :  11:25:38 AM  Show Profile  Reply with Quote
I have just reproduced the problem. I rebooted my Windows 10 system into safe mode, and then loaded VS2019.

This produced an error message about the RevDeBugViewerPackage not loading correctly, which I just accepted and ignored. Open a file from class view window, and the problem appears.

I need to run more tests now to try and reproduce with a smaller set of changes from a clean base state. But I don't get why this happens for me in safe mode but not normally! The message makes me think that the RevDeBugViewerPackage is somehow a factor, so that's going to be an early test.

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

Uniwares
Tomato Guru

Portugal
2137 Posts

Posted - May 04 2021 :  11:32:27 AM  Show Profile  Reply with Quote
Possibly, but i have this extension disabled though. Not that that means much, I have a case of CodeMaid not working correctly because a disabled extension swallows window change notifications and saves changed files when switching tabs. But on the other hand, in my clean profile, the RevDeBug extension is not even installed.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
17416 Posts

Posted - May 04 2021 :  1:45:51 PM  Show Profile  Reply with Quote
I can reproduce on a system where the RevDeBug extension was never installed, but its "fragile". Starting with a clean system, the exact order of opening your Q7 solution, importing your IDE settings, and installing VA seems to matter.

With rebooting the "clean" test system into safe mode I can reproduce the bug on demand, but it only happens, reliably, the first time I preview a file via Class View.

On my system with your extensions and "Winaero Tweaker" I can reproduce all of the time, but again only in Windows 10 safe mode.

Messy, but reliably reproducing is what matters. I have added all of this to the bug report.

Thank you for your patience in getting here.

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

Uniwares
Tomato Guru

Portugal
2137 Posts

Posted - May 05 2021 :  04:05:55 AM  Show Profile  Reply with Quote
Well, thats good news. Lets hope for a simple fix.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
17416 Posts

Posted - May 05 2021 :  07:59:37 AM  Show Profile  Reply with Quote
Sadly I am not optimistic for a simple fix. I have put this under the same bug report as the "version" of this bug that is triggered when opening a "*.designer.cs" file with an error. Our developers had had one look at this already, and were not able to identify the root cause of the bug.

Needing Windows 10 into safe mode to help trigger on demand, this does not suggest a simple situation to my mind.

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