-
Notifications
You must be signed in to change notification settings - Fork 29.5k
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
Extensions view not consistent in how it displays local vs. remote installed #207724
Comments
It is obvious that extension is not installed locally and it is not visible there.
Default sorting puts active extensions on the top. Active extensions are those which are enabled/running.
I can see the confusion here. Opening an extension always opens the active one. In this case the extension on the remote one was opened. But I agree it should open the extension that user clicks on. Can you please file a separate issue for this so that we can track this separately.
It is unclear to me what the problem is. It would be great if you can elaborate more on that. Again, I recommend to create a separate issue for this so that we can track them separately which makes it easier.
It is because, they are also installed locally. It is important to the user to show what extensions are installed locally and remotely.
Valid point, we can simply remote that text as it is obvious. Also recommended to file a separate issue. |
This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines. Happy Coding! |
@sandy081 apologize for the late reply. I appreciate your replies very much. I believe I am onto something in some of these cases. I will try to add some clarifications here in case it helps you understand each issue better. Eventually I do plan to write separate issues. My motiviation with all of this is of course good. I want to improve the situation UX for all users.
|
It is difficult for the user to install an extension on a correct location as it needs lot of internal knowledge. Hence VS Code does it automatically for users.
Can you please provide steps to reproduce
I understand your point. There is no visual indicator but we provide information on hover. I am not sure how much worth it is to show the information directly vs having minimal UI. |
|
Type: Bug
This is a UX issue with how extensions are shown in the Extensions Side Bar. I will present a few inconsistencies found, that I believe warrants to be looked over. I consider it a bug as the information presented seems inconsistent and thus wrong in some sense.
The reason why I present this as one bug report and not multiple is that it feels like a UX/UI oversight that is better shown as a whole, to better visualize that the aggregation of these issues make the view cause more confusion than it should. I can break this down into separate issues if required.
Background
Workspace Extensions prefer to run where the workspace is located. When using remote development, this should be on the Remote Extension Host, see https://code.visualstudio.com/api/advanced-topics/remote-extensions.
In the Extensions Side Bar, the Extensions that prefer to run on the Remote Extension Host are presented both in the LOCAL - INSTALLED view, where they are greyed out, as well in the remote view seen as SSH: VM - INSTALLED in the picture. I will hereby refer to these as the "local view" and "remote view".
Problems
A list of findings are presented here.
Problem 1
Not all extensions that are installed and visible in the remote view are seen as greyed out in the local view. Why is the
Go
extension not visible and greyed out in the local view?Problem 2
The local view sorts extensions in an alphabetical order, but sometimes it sorts them in a non-alphabetical order. This is an intermittent fault. Sorting them in alphabetical order is done in the majority of cases. Reloading the VS Code window can show this at times.
In the image in the Background chapter above you can see them in alphabetical order in the local view. In the image below you see the extensions that run on the local extension host at the top of the local view.
Problem 3
Uninstalling an extension from the local view (greyed out) by clicking it and selecting Uninstall (screenshot 1), then shows it being uninstalled both in the local view, remote view and in the extension info window itself (screenshot 2). But reloading VS Code then shows it in the local view, but not in the remote view. And in the extension window itself one is able to click Uninstall again (screenshot 3).
This makes no sense as it was uninstalled in screenshot 2. It should have been gone completely and screenshot 3 should never have shown it.
Screenshot 1
Screenshot 2
Screenshot 3
Problem 4
When using profiles, sometimes extensions are greyed out in the remote view, see screenshot for Azure Account. Notice also how the extension info window itself does not mention anything on where it is installed. This shows up like this even if "Apply Extension to All Profiles" have been selected. It is greyed out since it is disabled.
But this means that greyed out have various meanings in the local and remote view. I.e. as seen in previous problems above, greyed out in the local view means it is installed in the remote extension host. But here it means it is disabled completely.
I am not sure what to take of this, as the whole thing is just "werid" for lack of better words. I am not sure what to expect in regards to "Apply Extension to all Profiles".
Problem 5
This is an UX issue, and here opinions might differ. But why is remote installed extensions even listed as greyed out in the local window?
The local window says LOCAL - INSTALLED. Even though the local view has them greyed out, and adds an icon indicating they are installed remotely, just reading LOCAL - INSTALLED and then seeing remote extensions there is confusing for some users.
I do not know the best approach to solve this. Maybe just showing them in the remote view. Or some other solution.
Problem 6
The text
This extension is enabled globally.
is not easy to understand. https://code.visualstudio.com/docs/editor/extension-marketplace#_disable-an-extension mentions this as the opposite of workspace extensions. Why not instead say "This extension is enabled in all workspaces" or "This extension is enabled globally (in all workspaces)"?Reference to other issues
There are other issues that all in total retracts from the Extensions view experience:
#207712
#196351
#190992
VS Code version: Code 1.87.2 (863d258, 2024-03-08T15:20:17.278Z)
OS version: Windows_NT x64 10.0.19045
Modes:
Remote OS version: Linux x64 5.4.0-173-generic
System Info
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
Extensions (32)
A/B Experiments
The text was updated successfully, but these errors were encountered: