Opening a file in any Office app will restore your windows when you have defterm enabled #15465

Open
opened 2026-01-31 04:39:22 +00:00 by claunia · 0 comments
Owner

Originally created by @zadjii-msft on GitHub (Oct 6, 2021).

Yep, that's just as insane as it sounds.

It's on 1.12

but like, delayed? Like I opened excel, opened a file, then like 10s later, BAM the terminal's back

Yeah exactly

I'm grabbing a screenshot of the icon of whatever is launching

image
image

it says I'm up to date ._.
​​
wild theory: office boots some cmdline something or other that triggers a defapp launch. We don't end up sticking to the thing that office launched, but the act of creating the wt to try to delegate to also spawns the other restored windows

It's that yellow icon thing

Yeah what's weird is I can't get defapp to work with just plain CMD lol

that's weird... AppVlp is for executing untrusted scripts AFAIK

image
look at that - the window that got restored WAS WINDOW 2. So some other wt was launched that thought it also needed to bring this one back

Originally created by @zadjii-msft on GitHub (Oct 6, 2021). Yep, that's just as insane as it sounds. It's on 1.12 > but like, delayed? Like I opened excel, opened a file, then like 10s later, BAM the terminal's back > ​ > Yeah exactly > ​ > I'm grabbing a screenshot of the icon of whatever is launching > ​ > ![image](https://user-images.githubusercontent.com/18356694/136257795-dccd32e7-680e-4486-ab28-58be729aa701.png) > ![image](https://user-images.githubusercontent.com/18356694/136257823-e77d135c-6409-4c40-bea9-4ca524273bbf.png) > > it says I'm up to date ._. > ​​ > wild theory: office boots some cmdline something or other that triggers a defapp launch. We don't end up sticking to the thing that office launched, but the act of creating the wt to _try_ to delegate to also spawns the other restored windows > ​ > It's that yellow icon thing > ​ > Yeah what's weird is I can't get defapp to work with just plain CMD lol > ​ > that's weird... AppVlp is for executing untrusted scripts AFAIK > > > ![image](https://user-images.githubusercontent.com/18356694/136257901-55b34b12-b559-4461-bb09-7510ccd95f36.png) > look at that - the window that got restored WAS WINDOW 2. So some other wt was launched that thought it also needed to bring this one back
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#15465