ocrosoft
New Member

4 Posts |
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

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