microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
163.76k stars 29.1k forks source link

WebviewPanel.viewColumn does not update immediately when collapsing a lower column #131677

Closed mliao95 closed 1 year ago

mliao95 commented 3 years ago

Does this issue occur when all extensions are disabled?: Yes

Bug description:

WebviewPanel.viewColumn does not update when the column is changed by closing all files in a previous column.

Steps to Reproduce:

  1. Open file in column 1
  2. Open a WebviewPanel in column 2
  3. Close file in column 1, shifting the WebviewPanel in column 2 into column 1
  4. Check WebviewPanel.viewColumn

Expected Result: WebviewPanel.viewColumn is correctly updated to reflect column 1

Actual Result: WebviewPanel.viewColumn says it is in column 2 until the user performs a tab action like opening or switching tabs.

vscodebot[bot] commented 3 years ago

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

vscodenpa commented 1 year ago

This bug has been fixed in the latest release of VS Code Insiders!

@mliao95, you can help us out by commenting /verified if things are now working as expected.

If things still don't seem right, please ensure you're on version 1a908707b491de77cc8408ca6d5bf626cf435736 of Insiders (today's or later - you can use Help: About in the command palette to check), and leave a comment letting us know what isn't working as expected.

Happy Coding!