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
 Unexpected context menu appears
 New Topic  Reply to Topic
 Printer Friendly
Author  Topic Next Topic  

ocrosoft
New Member

4 Posts

Posted - Jul 03 2025 :  03:39:48 AM  Show Profile  Reply with Quote
Unexpected context menu appears when using "Toggle Header/Code File" right-click command.

Visual Studio Version
2022 Preview Community

Steps to Reproduce
1. Create a new project
2. Create empty paired files (e.g., main.h and main.cpp)
3. Ensure no documents are open in the editor
4. Open main.cpp
5. Right-click anywhere in the editor: Select "Toggle Header/Code File"
6. VS automatically opens main.h
7. Observe an unexpected context menu appearing with options:
- "Reduce display of scopes in context window"
- "Execute Goto Related on press of Go button"

Expected Behavior
Should cleanly switch between header/source files without additional UI elements appearing

Actual Behavior
An unrelated context menu pops up after file switching

Additional Context
- Does not occur if the target file (main.h) is already open





Edited by - ocrosoft on Jul 03 2025 04:01:31 AM

feline
Whole Tomato Software

United Kingdom
19188 Posts

Posted - Jul 03 2025 :  12:38:42 PM  Show Profile  Reply with Quote
OK, that is really strange, and I have never seen that before! I am able to reproduce in VS2019 and VS2022. Now trying to work out when this first started happening...

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