Skip to content
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

"Sort By" in Extensions filter options intermittently is disabled or freezes/hangs entire interface #103232

Closed
mureni opened this issue Jul 24, 2020 · 1 comment
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug extensions Issues concerning extensions insiders-released Patch has been released in VS Code Insiders verified Verification succeeded
Milestone

Comments

@mureni
Copy link

mureni commented Jul 24, 2020

Issue Type: Bug

Steps to replicate:

  1. Open Extensions panel
  2. Search for anything that has at least 3 results
  3. Select filter button/menu and hover mouse or use keyboard to highlight "Sort By"

Applies when accessing local extensions with remote extension disabled, and when accessing either local or remote extensions with remote extension enabled.

Troubleshooting limitations used:

  • Remote extension disabled to eliminate possibility of it being primary cause
  • Search options identical between tests
  • Window/panel sizes identical between tests
  • Window focus unchanged between search input and menu focus

Accessing the "Sort By" menu will:
a) Display fully functional options menu - Appropriate behavior
b) Display entirely disabled options menu - May be appropriate behavior if menu is truly inapplicable, e.g. 0 or 1 result(s)
c) Momentarily display entirely disabled options menu - Inappropriate behavior for all cases; confusing and inconsistent UX
d) Cause the entire interface, other than base Electron window, to freeze/hang - Inappropriate behavior for all cases.

Experiences:
The inappropriate behaviors (c and d) listed above happen more frequently with higher numbers of results of the search.

  • Using an uncommon term with 3 results, it took at least 54 attempts to access the "Sort By" menu before it showed one of the above "inappropriate" behaviors, usually disabled menu either consistently displayed or disappearing unexpectedly and unintentionally.
  • Using a more common term with 20 results, it took 6 attempts before increasingly inappropriate behaviors began to manifest, and 23 subsequent attempts before a complete freeze occurred.
  • Using a very common term such as "theme" caused the interface to freeze or hang every single time the "Sort By" menu was accessed.

No other menus seem to show these inappropriate behaviors under the same circumstances used in the above examples.

VS Code version: Code - Insiders 1.48.0-insider (731f9c2, 2020-07-24T05:57:10.466Z)
OS version: Windows_NT x64 10.0.20170

System Info
Item Value
CPUs Intel(R) Core(TM) i5-7500 CPU @ 3.40GHz (4 x 3408)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
opengl: enabled_on
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 31.97GB (22.03GB free)
Process Argv
Screen Reader no
VM 0%
Extensions (32)
Extension Author (truncated) Version
html-snippets abu 0.2.1
npm-intellisense chr 1.3.0
path-intellisense chr 2.2.1
gitlens eam 10.2.2
vscode-npm-script eg2 0.3.12
prettier-vscode esb 5.1.3
vscode-firefox-debug fir 2.9.0
vscode-nginx-conf-hint han 0.1.0
animate-css Hri 1.0.0
vscode-react-typescript inf 1.3.1
dotenv mik 1.0.1
vscode-json5 mrm 1.0.0
vscode-docker ms- 1.4.1
csharp ms- 1.22.1
remote-containers ms- 0.128.0
remote-ssh ms- 0.51.0
remote-ssh-edit ms- 0.51.0
remote-ssh-explorer ms- 0.51.0
remote-wsl ms- 0.44.4
vscode-remote-extensionpack ms- 0.20.0
js-debug-companion ms- 1.0.2
typescript-javascript-grammar ms- 0.0.53
vscode-typescript-tslint-plugin ms- 1.2.3
debugger-for-chrome msj 4.12.9
vscode-versionlens pfl 1.0.8
tsimporter pmn 2.0.1
typescript-hero rbb 3.0.0
synthwave-vscode Rob 0.1.6
vscode-nginx sha 0.6.0
gitconfig sid 2.0.1
move-ts str 1.12.0
JavaScriptSnippets xab 1.8.0

(4 theme extensions excluded)

@sandy081 sandy081 added bug Issue identified by VS Code Team member as probable bug extensions Issues concerning extensions labels Jul 29, 2020
@sandy081 sandy081 added this to the July 2020 milestone Jul 29, 2020
@sandy081
Copy link
Member

I can see the sort options getting disabled but I do not see the freeze.

image

I added a fix to reuse sort actions instead of recreating them. This fix will be available in tomorrow's insiders. Please try out and see if you can repro again?

@JacksonKearl JacksonKearl added the verified Verification succeeded label Aug 6, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Sep 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug extensions Issues concerning extensions insiders-released Patch has been released in VS Code Insiders verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

4 participants
@JacksonKearl @sandy081 @mureni and others