Skip to content

Commit bb1f532

Browse files
authored
window - wait longer for fullscreen transitions (microsoft#196633)
* window - wait longer for fullscreen transitions * 💄
1 parent 799d083 commit bb1f532

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/vs/platform/windows/electron-main/windowImpl.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ export class CodeWindow extends BaseWindow implements ICodeWindow {
406406
}
407407

408408
private logConditionally(msg: string): void {
409-
// TODO@bpasero remove me eventually
409+
// TODO@bpasero remove native fullscreen logging eventually
410410
if (this.configurationService.getValue('window.logFullScreenTransitions')) {
411411
this.logService.info(`window-fullscreen-bug: ${msg})`);
412412
}
@@ -1320,7 +1320,7 @@ export class CodeWindow extends BaseWindow implements ICodeWindow {
13201320
this.joinNativeFullScreenTransition = new DeferredPromise<void>();
13211321
Promise.race([
13221322
this.joinNativeFullScreenTransition.p,
1323-
timeout(1000) // still timeout after some time in case we miss the event
1323+
timeout(10000) // still timeout after some time in case the transition is unusually slow
13241324
]).finally(() => {
13251325
this.logConditionally(`doSetNativeFullScreen(${fullscreen}): finish at ${Date.now()}`);
13261326

0 commit comments

Comments
 (0)