src/vs/workbench/browser/parts/titlebar/menubarControl.ts/MenubarControl/onDidChangeRecentlyOpened
class MenubarControl:	protected onDidChangeRecentlyOpened(): void {

		// Do not update recently opened when the menubar is hidden #108712
		if (!this.menubarHidden) {
			this.workspacesService.getRecentlyOpened().then(recentlyOpened => {
				this.recentlyOpened = recentlyOpened;
				this.updateMenubar();
			});
		}
	}