In agent session window, layout falls over when opening editors (fix #291089) (#291529)

This commit is contained in:
Benjamin Pasero
2026-01-29 10:59:58 +01:00
committed by GitHub
parent cceba815b0
commit 7a488d0f07
2 changed files with 2 additions and 3 deletions

View File

@@ -19,6 +19,7 @@
"workbench.sideBar.location": "right",
"workbench.statusBar.visible": false,
"workbench.secondarySideBar.forceMaximized": true,
"workbench.secondarySideBar.defaultVisibility": "maximized",
"workbench.startupEditor": "none",
"workbench.tips.enabled": false,
"workbench.layoutControl.type": "toggles",

View File

@@ -2981,11 +2981,9 @@ class LayoutStateModel extends Disposable {
private applyOverrides(configuration: ILayoutStateLoadConfiguration): void {
// Auxiliary bar: Maximized settings
const auxiliaryBarForceMaximized = this.configurationService.getValue(WorkbenchLayoutSettings.AUXILIARYBAR_FORCE_MAXIMIZED);
if (this.isNew[StorageScope.WORKSPACE] || auxiliaryBarForceMaximized) {
if (this.isNew[StorageScope.WORKSPACE]) {
const defaultAuxiliaryBarVisibility = this.configurationService.getValue(WorkbenchLayoutSettings.AUXILIARYBAR_DEFAULT_VISIBILITY);
if (
auxiliaryBarForceMaximized ||
defaultAuxiliaryBarVisibility === 'maximized' ||
(defaultAuxiliaryBarVisibility === 'maximizedInWorkspace' && this.contextService.getWorkbenchState() !== WorkbenchState.EMPTY)
) {