Does this issue occur when all extensions are disabled?: Yes and No (because an extension is required to construct the situation.)
- VS Code Version: 1.62.0 and source build from latest main branch.
- OS Version: Linux (also web version)
Steps to Reproduce:
- Create a contribution to the
view/item/context menu with a custom condition, e.g. "when": "view == myextension.view && myextension.should_show". (I've only tested the inline group)
- After the view is shown, change the value of
myextension.should_show in the extension.
- The visibility of the button does not change.
For a contributed view from the same extension, this can be worked around by triggering a refresh of the whole view (by firing onDidChangeTreeData) but there doesn't seem to be a way to do this if the view is from somewhere else... The automatic update works in most other places I've tried...
Does this issue occur when all extensions are disabled?: Yes and No (because an extension is required to construct the situation.)
Steps to Reproduce:
view/item/contextmenu with a custom condition, e.g."when": "view == myextension.view && myextension.should_show". (I've only tested the inline group)myextension.should_showin the extension.For a contributed view from the same extension, this can be worked around by triggering a refresh of the whole view (by firing
onDidChangeTreeData) but there doesn't seem to be a way to do this if the view is from somewhere else... The automatic update works in most other places I've tried...