-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'Server Source Control' and 'Server Command Menu' flipped after connecting to different server #1458
Comments
@mbries The Server Actions menu is contributed by the vscode-objectscript extension, so I moved this issue there. What exactly are you doing when you're "switching to a new server"? |
Initially I'll have a single remote server added as a folder in a VSCode workspace - DEVUCR for example. VSCode is actively connected to the first server and both selections are working as expected. I then add another remote server - say DEVCV, to my VSCode Workspace. I open a code artifact from the 2nd server, and verify that the active connection is indeed the correct server (DEVCV shows in the connection box in the bottom left corner). Then no matter which way I access either Server Source Control or Server Command Menu I get the flipped behavior: Right clicking on the open document or clicking on the active connection box and choosing it from the center dropdown menu doesn't make any difference. Edit to add: InterSystems ObjectScript extension is version v2.12.10 |
Thanks for the detailed response. That sounds really strange. I will try to reproduce it. |
@mbries I wasn't able to reproduce this issue. Here's what I tried:
|
I think the confusion is caused the the dropdown's prompt message. It always says "Pick server-side command to perform..." even if you selected the source control menu. |
@mbries Can you confirm that the correct menu options are appearing, even if the prompt is confusing? |
@isc-bsaviano when this occurs the correct menu options are not appearing. 'Server Source Control' prompts for a server command, while 'Server Command Menu' prompts for the source control options. I was doing this exact workflow today and the issue did not re-occur, I will continue to monitor for it so I can determine if there are more contributing factors. |
Thanks for clarifying @mbries. Is it possible that this is a server issue? I looked at our code in this area and I don't see any places where the menus could get mixed up. |
Hi @mbries, are you still experiencing this issue? Have you been able to identify if happens with more than one server? |
Working in a client environment with many remote HealthShare instances, I experienced twice in a single day that after switching to a new server, clicking on 'Server Source Control' would actually execute 'Server Command Menu' and vice versa.
Clicking this 'Server Source Control':
Results in this prompt:
The HealthShare instances were all 2021.1, and the InterSystems Server Manager version was v3.8.0. The only remedy I have found for this issue is to restart VSCode entirely. Forcing a reconnect to the server in question does not solve the problem.
The text was updated successfully, but these errors were encountered: