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

Support retainContextWhenHidden in Custom Editors #82128

Closed
KevinWuWon opened this issue Oct 8, 2019 · 1 comment
Closed

Support retainContextWhenHidden in Custom Editors #82128

KevinWuWon opened this issue Oct 8, 2019 · 1 comment
Assignees
Labels
api verified Verification succeeded webview Webview issues
Milestone

Comments

@KevinWuWon
Copy link

  1. Open a tab from an extension using the Custom Editor API (eg. image preview)
  2. Switch to another tab
  3. Switch back to the custom editor.

Observe that the webview needs to start up again from a blank screen and loses all state.

It would be nice if it were possible to enable retainContextWhenHidden for Custom Editor webview panels.
https://code.visualstudio.com/api/extension-guides/webview#retaincontextwhenhidden

(As mentioned in this comment from the Custom Editors issue)

@vscodebot
Copy link

vscodebot bot commented Oct 8, 2019

(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

@mjbvz mjbvz added this to the October 2019 milestone Oct 10, 2019
@mjbvz mjbvz added api webview Webview issues labels Oct 16, 2019
@mjbvz mjbvz closed this as completed in 721886c Oct 17, 2019
@mjbvz mjbvz added the verification-needed Verification of issue is requested label Oct 29, 2019
@connor4312 connor4312 added verified Verification succeeded and removed verification-needed Verification of issue is requested labels Oct 29, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Dec 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
api verified Verification succeeded webview Webview issues
Projects
None yet
Development

No branches or pull requests

3 participants