Skip to content

Wire up passing LNK/EXE data from OpenCon to ITerminalHandoff - #13570

Merged
Mike Griese (zadjii-msft) merged 20 commits into
mainfrom
dev/migrie/f/9458-startupInfoToTerminal
Aug 26, 2022
Merged

Mike Griese (zadjii-msft) merged 20 commits into
mainfrom
dev/migrie/f/9458-startupInfoToTerminal

Conversation

@zadjii-msft

Copy link
Copy Markdown
Member

This PR by itself doesn't really change much. Technically, now the Terminal will respect the Title of a .lnk when started for defterm, but we don't do anything else yet. Primarily, the goal of this PR is to just wire up startup info in OpenConsole to the connected Terminal.

@ghost ghost added Area-DefApp Area-Server Down in the muck of API call servicing, interprocess communication, eventing, etc. Issue-Task It's a feature request, but it doesn't really need a major design. Product-Terminal The new Windows Terminal. labels Jul 22, 2022
@github-actions

This comment has been minimized.

@zadjii-msft

Copy link
Copy Markdown
Member Author

hey look, this made this better:
image

@DHowett

Copy link
Copy Markdown
Member

hey look, this made this better

helk yeah

<Import Project="..\..\..\packages\Microsoft.UI.Xaml.2.7.1\build\native\Microsoft.UI.Xaml.targets" Condition="Exists('..\..\..\packages\Microsoft.UI.Xaml.2.7.1\build\native\Microsoft.UI.Xaml.targets')" />
<Import Project="..\..\..\packages\Microsoft.Toolkit.Win32.UI.XamlApplication.6.1.3\build\native\Microsoft.Toolkit.Win32.UI.XamlApplication.targets" Condition="Exists('..\..\..\packages\Microsoft.Toolkit.Win32.UI.XamlApplication.6.1.3\build\native\Microsoft.Toolkit.Win32.UI.XamlApplication.targets')" />
<!-- This -must- go after cppwinrt.build.post.props because that includes many VS-provided props including appcontainer.common.props, which stomps on what cppwinrt.targets did. -->
<Import Project="$(OpenConsoleDir)src\common.nugetversions.targets" />

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this project becomes less sampley every day!

Comment thread src/host/proxy/ITerminalHandoff.idl Resolved
Comment thread src/host/proxy/ITerminalHandoff.idl Resolved
@ghost ghost added the Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something label Aug 12, 2022
@ghost ghost removed the Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something label Aug 19, 2022
@zadjii-msft

Copy link
Copy Markdown
Member Author

Yo Dustin L. Howett (@DHowett) I did run this with appverifier and this ran clean 😄

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

perfect

@DHowett

Copy link
Copy Markdown
Member

@msftbot make sure Dustin L. Howett (MSFT) (@DHowett-MSFT) signs off

@ghost ghost added the AutoMerge Marked for automatic merge by the bot when requirements are met label Aug 25, 2022
@DHowett

Copy link
Copy Markdown
Member

This will never be true. It will not clear this status, so you'll have to manually merge it. :)

@ghost

Copy link
Copy Markdown

🎉Windows Terminal Preview v1.16.252 has been released which incorporates this pull request.:tada:

Handy links:

Dustin L. Howett (DHowett) pushed a commit that referenced this pull request Oct 14, 2022
This PR by itself doesn't _really_ change much. Technically, now the Terminal will respect the Title of a `.lnk` when started for defterm, but we don't do anything else yet. Primarily, the goal of this PR is to just wire up startup info in OpenConsole to the connected Terminal.
* This required a bit of changes in `srvinit.cpp:ConsoleEstablishHandoff` to replicate other bits of startup, where we crack open the connect message to get the relevant bits of info.
* We pack that all into a `TERMINAL_STARTUP_INFO`, which we pass along to the registered terminal application.
* `ConptyConnection` accepts the handoff, and gathers that information out of the `TERMINAL_STARTUP_INFO`
* Some other updates to the scratch sln were made to make it build again (related, but unimportant).
* This is a precursor to:
  * #13111
  * #12154
* Closes #9458
* Tested manually
* I work here

(cherry picked from commit 7e47f6a)
Service-Card-Id: 86230565
Service-Version: 1.15
ghost pushed a commit that referenced this pull request Oct 15, 2022
Dustin L. Howett (DHowett) added a commit that referenced this pull request Oct 17, 2022
These were wrong.

(cherry picked from commit 1f19ed0)
Service-Card-Id: 86230901
Service-Version: 1.16
@ghost

Copy link
Copy Markdown

🎉Windows Terminal v1.15.2874 has been released which incorporates this pull request.:tada:

Handy links:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-DefApp Area-Server Down in the muck of API call servicing, interprocess communication, eventing, etc. AutoMerge Marked for automatic merge by the bot when requirements are met Automerge-Not-Compatible Issue-Task It's a feature request, but it doesn't really need a major design. Needs-Second It's a PR that needs another sign-off Product-Terminal The new Windows Terminal.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[DefApp] Pass LNK/EXE data from OpenCon to ITerminalHandoff

3 participants