Skip to content

Workaround for webViewPanel.postMessage getting dropped.#7647

Merged
sean-mcmanus merged 2 commits intomainfrom
seanmcm/configUIUpdateWorkaround
Jun 4, 2021
Merged

Workaround for webViewPanel.postMessage getting dropped.#7647
sean-mcmanus merged 2 commits intomainfrom
seanmcm/configUIUpdateWorkaround

Conversation

@sean-mcmanus
Copy link
Contributor

@sean-mcmanus sean-mcmanus commented Jun 4, 2021

Fixes #7641 . Workaround for VS Code regression bug microsoft/vscode#125546 .

VS Code can take up to 6 seconds to respond to the postMessage requests (i.e. it could retry around 10 times).

@sean-mcmanus sean-mcmanus merged commit 315f308 into main Jun 4, 2021
@sean-mcmanus sean-mcmanus deleted the seanmcm/configUIUpdateWorkaround branch June 4, 2021 21:49

// Need to queue another update due to a VS Code regression bug which may drop the initial update.
// It repros with a higher probability in cases that cause a slower load, such as after
// switching to a Chinese langauge pack or in the remote scenario.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo: langauge -> language

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch -- I had removed the comment because the code was deleted, but I decided to add it back (with the typo fixed): #7656

sean-mcmanus added a commit that referenced this pull request Jun 7, 2021
* Workaround for webViewPanel.postMessage getting dropped.
@github-actions github-actions bot locked and limited conversation to collaborators Jul 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Edit Configuration (UI) is sometimes blank with VS Code 1.56

3 participants