Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No longer launched from win 10 search WT #13286

Closed
jredfox opened this issue Jun 12, 2022 · 6 comments
Closed

No longer launched from win 10 search WT #13286

jredfox opened this issue Jun 12, 2022 · 6 comments
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Attention The core contributors need to come back around and look at this ASAP. Needs-Tag-Fix Doesn't match tag requirements Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting

Comments

@jredfox
Copy link

jredfox commented Jun 12, 2022

Windows Terminal version

1.13.11431.0

Windows build number

10.0.19044.1706

Other Software

No response

Steps to reproduce

  • search in the windows 10 search bar wt
  • Capture
  • click enter once it's highlighted
  • nothing happens
  • search wt using where.exe
C:\Users\jredfox>where wt
C:\Users\jredfox\AppData\Local\Microsoft\WindowsApps\wt.exe

I also tried:

  • repairing the app from apps and features
  • resetting the app data from apps and features
  • unintstalling and re-installing the app from the windows store
  • double clicking wt.exe found in this path. the path was determined by clicking open file location of wt from the start menu C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_1.13.11431.0_x64__8wekyb3d8bbwe\wt.exe and the same result happens
  • running in cmd start "" "C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_1.13.11431.0_x64__8wekyb3d8bbwe\wt.exe" -p "Command Prompt" w -1
  • running in cmd start "" "C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_1.13.11431.0_x64__8wekyb3d8bbwe\wt.exe" -p "Command Prompt" new-tab

Expected Behavior

it opens up WT UI

Actual Behavior

it either runs in the background then closes or doesn't open at all.

@jredfox jredfox added the Issue-Bug It either shouldn't be doing this or needs an investigation. label Jun 12, 2022
@ghost ghost added Needs-Tag-Fix Doesn't match tag requirements Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting labels Jun 12, 2022
@jredfox jredfox changed the title No longer launched from win 10 search No longer launched from win 10 search WT Jun 12, 2022
@zadjii-msft
Copy link
Member

I'm pretty confident that C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_... isn't actually supposed to be used. There's an "app execution alias" for the Terminal at %LOCALAPPDATA%\Microsoft\WindowsApps\wt.exe which should probably be used instead. Is there a wt.exe your PATH/? (an easy way to check this is where wt in Command Prompt)

If there isn't, but %LOCALAPPDATA%\Microsoft\WindowsApps is on the PATH, then you might need to re-enable the wt execution alias:

image

@ghost ghost added the Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something label Jun 13, 2022
@jredfox
Copy link
Author

jredfox commented Jun 14, 2022

Idk it appeared in the search bar after reinstalling the app if it's suppose to only be terminal or windows terminal shortcut which does work then the original needs to be removed

Wt launches from command prompt. It's from the search bar that doesn't work

@ghost ghost added Needs-Attention The core contributors need to come back around and look at this ASAP. and removed Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something labels Jun 14, 2022
@jredfox
Copy link
Author

jredfox commented Jun 14, 2022

Capture

@jkyndir
Copy link

jkyndir commented Jul 6, 2022

@jredfox

Hi, there.

I had the exact same problem where I cannot open windows terminal in the start menu or in windows explorer's address bar.

HELP!
Would appreciate your help so much.

Literally begging on my knees...

@zadjii-msft
Copy link
Member

@jkyndir Can you file a new issue? Make sure to include build numbers, Terminal version numbers, specific repro steps, etc. Also make sure to try toggling the wt.exe "app execution alias", and make sure that there's a wt.exe on your PATH (where wt in a Command Prompt window may be enlightening)

@zamadatix
Copy link

zamadatix commented Jul 7, 2022

I came to this issue because I was having the same troubles recently. The alias was still enabled but "where wt" wasn't returning anything. Sure enough checking my PATH no longer had the entry for some reason. Manually adding %LOCALAPPDATA%\Microsoft\WindowsApps\wt.exe resulted in "wt" finding the terminal from the Start menu again.

Thanks for the tips @zadjii-msft. I'm not sure why it suddenly disappeared but it's definitely working as expected for me now!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Attention The core contributors need to come back around and look at this ASAP. Needs-Tag-Fix Doesn't match tag requirements Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting
Projects
None yet
Development

No branches or pull requests

4 participants