Repository navigation
Send notifications even when we're unpackaged - #19937
Mike Griese (zadjii-msft) wants to merge 3 commits into
Conversation
|
big s/o to Scott Hanselman (@shanselman) who had this in Toasty and I copied liberally ❤️ |
This comment has been minimized.
This comment has been minimized.
…v/migrie/fhl-spring26/unpackaged-notify
| LOG_IF_FAILED(SetCurrentProcessExplicitAppUserModelID(L"Microsoft.WindowsTerminal")); | ||
| #elif defined(WT_BRANDING_PREVIEW) | ||
| LOG_IF_FAILED(SetCurrentProcessExplicitAppUserModelID(L"Microsoft.WindowsTerminalPreview")); | ||
| #elif defined(WT_BRANDING_CANARY) | ||
| LOG_IF_FAILED(SetCurrentProcessExplicitAppUserModelID(L"Microsoft.WindowsTerminalCanary")); | ||
| #else | ||
| LOG_IF_FAILED(SetCurrentProcessExplicitAppUserModelID(L"Microsoft.WindowsTerminalDev")); |
There was a problem hiding this comment.
how does this work for different versions of portable mode? we have already (and a couple times) fixed issues where portable and unpackaged have "crosstalk". See how we generate the Window ID in the WindowEmperor.
There was a problem hiding this comment.
This identifier allows an application to group its associated processes and windows under a single taskbar button.
for example, we do not want different instances of portable mode or unpackaged to glom together with packaged or with eachother.
Dustin L. Howett (DHowett)
left a comment
There was a problem hiding this comment.
noted within
| @@ -70,6 +71,7 @@ | |||
| "audible", | |||
| "taskbar", | |||
| "window", | |||
| "notification", | |||
|
Chatted with Mike. Got positive handoff and took notes of the PRs, feedback, and other relevant notes he had on the subject. Closing this and others so that they don't clutter our PR queue. |
## Summary of the Pull Request Targets #20010 Manually assign an AUMID to our process when we're running unpackaged. Main difference from #19937 is what AUMID we use. Before, it was per branding, but the `WindowEmperor` already appends an exe path hash for unpackaged instances to prevent crosstalk. Here, we're just using the same pattern: `Microsoft.WindowsTerminal.<hash>`. Heavily based on #19937 Co-authored by @zadjii-msft
Targets #19936
Manually assign an AUMID to our process when we're running unpackaged. That'll let us actually send Windows notifications when we're unpackaged.