Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Unexpected context menu appears

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
ocrosoft Posted - Jul 03 2025 : 03:39:48 AM
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




1   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Jul 03 2025 : 12:38:42 PM
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...

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000