File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/vs/platform/windows/electron-main Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -406,7 +406,7 @@ export class CodeWindow extends BaseWindow implements ICodeWindow {
406
406
}
407
407
408
408
private logConditionally ( msg : string ) : void {
409
- // TODO@bpasero remove me eventually
409
+ // TODO@bpasero remove native fullscreen logging eventually
410
410
if ( this . configurationService . getValue ( 'window.logFullScreenTransitions' ) ) {
411
411
this . logService . info ( `window-fullscreen-bug: ${ msg } )` ) ;
412
412
}
@@ -1320,7 +1320,7 @@ export class CodeWindow extends BaseWindow implements ICodeWindow {
1320
1320
this . joinNativeFullScreenTransition = new DeferredPromise < void > ( ) ;
1321
1321
Promise . race ( [
1322
1322
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
1324
1324
] ) . finally ( ( ) => {
1325
1325
this . logConditionally ( `doSetNativeFullScreen(${ fullscreen } ): finish at ${ Date . now ( ) } ` ) ;
1326
1326
You can’t perform that action at this time.
0 commit comments