Open in Windows Terminal not using app alias #13437

Closed
opened 2026-01-31 03:42:42 +00:00 by claunia · 9 comments
Owner

Originally created by @vefatica on GitHub (Apr 14, 2021).

Windows Terminal version (or Windows build number)

Microsoft Windows 10 Pro for Workstations10.0.19042.928 (2009, 20H2)

Other Software

No response

Steps to reproduce

I just installed WindowsTerminal 1.7.1033.0 and 1.8.1033.0, the latter being the new preview. My app alias points to the preview. "Open in Windows Terminal" starts 1.7.1033.0. It may be that this behavior is not new and I'm noticing it for the first time. Is it as expected?

Expected Behavior

No response

Actual Behavior

See above.

Originally created by @vefatica on GitHub (Apr 14, 2021). ### Windows Terminal version (or Windows build number) Microsoft Windows 10 Pro for Workstations10.0.19042.928 (2009, 20H2) ### Other Software _No response_ ### Steps to reproduce I just installed WindowsTerminal 1.7.1033.0 and 1.8.1033.0, the latter being the new preview. My app alias points to the preview. "Open in Windows Terminal" starts 1.7.1033.0. It may be that this behavior is not new and I'm noticing it for the first time. Is it as expected? ### Expected Behavior _No response_ ### Actual Behavior See above.
claunia added the Needs-TriageNeeds-Tag-Fix labels 2026-01-31 03:42:42 +00:00
Author
Owner

@DHowett commented on GitHub (Apr 14, 2021):

The versioned shell extension launches the version of Terminal that it was packaged with. It does not launch your preferred version. You probably have one menu entry with the normal icon and one with the preview icon.

This is by design as of #9510.

@DHowett commented on GitHub (Apr 14, 2021): The versioned shell extension launches the version of Terminal that it was packaged with. It does not launch your preferred version. You probably have one menu entry with the normal icon and one with the preview icon. This is by design as of #9510.
Author
Owner

@vefatica commented on GitHub (Apr 14, 2021):

I don't quite understand. I uninstalled both and reinstalled only the preview. Now I don't have "Open in Windows Terminal". Is that expected?

@vefatica commented on GitHub (Apr 14, 2021): I don't quite understand. I uninstalled both and reinstalled only the preview. Now I don't have "Open in Windows Terminal". Is that expected?
Author
Owner

@DHowett commented on GitHub (Apr 14, 2021):

That's not expected, but also not something we can exactly help. Explorer has some cache that it uses for shell extension availability, and I suspect that when it gets rebuilt things will settle. Terminal only registers to say "I have a shell extension" and everything after that is up to the shell.

@DHowett commented on GitHub (Apr 14, 2021): That's not expected, but also not something we can exactly help. Explorer has some cache that it uses for shell extension availability, and I suspect that when it gets rebuilt things will settle. Terminal _only_ registers to say "I have a shell extension" and everything after that is up to the shell.
Author
Owner

@DHowett commented on GitHub (Apr 14, 2021):

(ugh. another MSIX issue. 😄)

@DHowett commented on GitHub (Apr 14, 2021): (ugh. another MSIX issue. :smile:)
Author
Owner

@vefatica commented on GitHub (Apr 14, 2021):

I uninstalled both and reinstalled only the preview. Now I don't have "Open in Windows Terminal".

And now, a couple hours later, I (re)installed 1.7.1033.0 and I have "Open in ..." again (while the alias still points to the preview). Does the Preview have a context menu handler and an installer for it?

@vefatica commented on GitHub (Apr 14, 2021): > I uninstalled both and reinstalled only the preview. Now I don't have "Open in Windows Terminal". And now, a couple hours later, I (re)installed 1.7.1033.0 and I have "Open in ..." again (while the alias still points to the preview). Does the Preview have a context menu handler and an installer for it?
Author
Owner

@DHowett commented on GitHub (Apr 14, 2021):

Yes, both have context menu handlers. Pre and Stable use the same mechanism--namely, the declarative app manifest--to announce their shell extensions. All of the processing for those registrations happens completely out of our control, as is intended.

FYI- With the three versions, my shell does show them all (it is rather a lot)

image

@DHowett commented on GitHub (Apr 14, 2021): Yes, both have context menu handlers. Pre and Stable use the same mechanism--namely, the declarative app manifest--to announce their shell extensions. All of the _processing_ for those registrations happens completely out of our control, as is intended. FYI- With the three versions, my shell does show them all (it is rather a lot) ![image](https://user-images.githubusercontent.com/189190/114778552-9d70a000-9d3a-11eb-9138-3c6116bd3be0.png)
Author
Owner

@vefatica commented on GitHub (Apr 14, 2021):

I went through the whole process again ... uninstalled both ... installed the preview ... no context menu ... installed the stable version ... context menu. To me, it doesn't look like the two behave the same.

Can anything be done about settings.json being deleted when you uninstall? I was lucky; I also had a settings.json for the un-packaged installation (in "C:\Users\vefatica\AppData\Local\Microsoft\Windows Terminal"). Without that I would have had to do quite a bit of work.

@vefatica commented on GitHub (Apr 14, 2021): I went through the whole process again ... uninstalled both ... installed the preview ... no context menu ... installed the stable version ... context menu. To me, it doesn't look like the two behave the same. Can anything be done about settings.json being deleted when you uninstall? I was lucky; I also had a settings.json for the un-packaged installation (in "C:\Users\vefatica\AppData\Local\Microsoft\Windows Terminal\"). Without that I would have had to do quite a bit of work.
Author
Owner

@vefatica commented on GitHub (Apr 14, 2021):

Hmmm! I've had both stable and preview installed for a long time (maybe a year or so). I have never seen multiple "Open in Windows Terminal" context menu items.

@vefatica commented on GitHub (Apr 14, 2021): Hmmm! I've had both stable and preview installed for a long time (maybe a year or so). I have never seen multiple "Open in Windows Terminal" context menu items.
Author
Owner

@DHowett commented on GitHub (Apr 15, 2021):

Can anything be done about settings.json being deleted when you uninstall?

I wish.

This is by design as of #9510.

9510 only shipped in 1.7.1033 and 1.8.1032.

@DHowett commented on GitHub (Apr 15, 2021): > Can anything be done about settings.json being deleted when you uninstall? I wish. > This is by design as of #9510. 9510 only shipped in 1.7.1033 and 1.8.1032.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#13437