diff --git a/src/modules/cmdpal/Microsoft.CmdPal.UI.ViewModels/Settings/DockSettings.cs b/src/modules/cmdpal/Microsoft.CmdPal.UI.ViewModels/Settings/DockSettings.cs index 2753e19c0f..1e7151d257 100644 --- a/src/modules/cmdpal/Microsoft.CmdPal.UI.ViewModels/Settings/DockSettings.cs +++ b/src/modules/cmdpal/Microsoft.CmdPal.UI.ViewModels/Settings/DockSettings.cs @@ -31,7 +31,12 @@ public class DockSettings public DockSettings() { // Initialize with default values + PinnedCommands = [ + "com.microsoft.cmdpal.winget" + ]; + StartBands.Add(new DockBandSettings { Id = "com.microsoft.cmdpal.home" }); + StartBands.Add(new DockBandSettings { Id = "com.microsoft.cmdpal.winget", ShowLabels = false }); EndBands.Add(new DockBandSettings { Id = "com.microsoft.cmdpal.performanceMonitor" }); EndBands.Add(new DockBandSettings { Id = "com.microsoft.cmdpal.timedate.dockband" }); diff --git a/src/modules/cmdpal/Microsoft.CmdPal.UI/MainWindow.xaml.cs b/src/modules/cmdpal/Microsoft.CmdPal.UI/MainWindow.xaml.cs index 93e5796f44..f940dc6086 100644 --- a/src/modules/cmdpal/Microsoft.CmdPal.UI/MainWindow.xaml.cs +++ b/src/modules/cmdpal/Microsoft.CmdPal.UI/MainWindow.xaml.cs @@ -1028,6 +1028,7 @@ public sealed partial class MainWindow : WindowEx, // but that's the price to pay for having the HWND not light-dismiss while we're debugging. Cloak(); this.Hide(); + WeakReferenceMessenger.Default.Send(new WindowHiddenMessage()); return; } diff --git a/src/modules/cmdpal/ext/Microsoft.CmdPal.Ext.WinGet/Pages/WinGetExtensionPage.cs b/src/modules/cmdpal/ext/Microsoft.CmdPal.Ext.WinGet/Pages/WinGetExtensionPage.cs index e84802b8fa..91a55d935f 100644 --- a/src/modules/cmdpal/ext/Microsoft.CmdPal.Ext.WinGet/Pages/WinGetExtensionPage.cs +++ b/src/modules/cmdpal/ext/Microsoft.CmdPal.Ext.WinGet/Pages/WinGetExtensionPage.cs @@ -42,6 +42,7 @@ internal sealed partial class WinGetExtensionPage : DynamicListPage, IDisposable public WinGetExtensionPage(string tag = "") { Icon = tag == ExtensionsTag ? Icons.ExtensionsIcon : Icons.WinGetIcon; + Id = tag == ExtensionsTag ? "com.microsoft.cmdpal.winget-extensions" : "com.microsoft.cmdpal.winget"; Name = Properties.Resources.winget_page_name; _tag = tag; ShowDetails = true;