diff --git a/src/common/Common.UI.Controls/Common.UI.Controls.csproj b/src/common/Common.UI.Controls/Common.UI.Controls.csproj
index e6f5518928..e3e9441512 100644
--- a/src/common/Common.UI.Controls/Common.UI.Controls.csproj
+++ b/src/common/Common.UI.Controls/Common.UI.Controls.csproj
@@ -19,9 +19,7 @@
-
-
diff --git a/src/common/Common.UI.Controls/Window/FlyoutWindowHelper.cs b/src/common/Common.UI.Controls/Window/FlyoutWindowHelper.cs
index 0ca447d8e9..72a4222740 100644
--- a/src/common/Common.UI.Controls/Window/FlyoutWindowHelper.cs
+++ b/src/common/Common.UI.Controls/Window/FlyoutWindowHelper.cs
@@ -40,15 +40,6 @@ public static partial class FlyoutWindowHelper
[LibraryImport("shcore.dll")]
private static partial int GetDpiForMonitor(nint hMonitor, uint dpiType, out uint dpiX, out uint dpiY);
- ///
- /// Get the DPI scale factor (1.0 = 100%, 1.25 = 125%, 1.5 = 150%, 2.0 = 200%) for a window.
- ///
- public static double GetDpiScale(WindowEx window)
- {
- ArgumentNullException.ThrowIfNull(window);
- return (double)window.GetDpiForWindow() / DefaultDpi;
- }
-
///
/// Get the DPI scale factor for a given .
/// Resolves DPI from the underlying monitor handle so the value reflects the
diff --git a/src/common/Common.UI/SettingsDeepLink.cs b/src/common/Common.UI/SettingsDeepLink.cs
index fedf5480e3..73c75324a9 100644
--- a/src/common/Common.UI/SettingsDeepLink.cs
+++ b/src/common/Common.UI/SettingsDeepLink.cs
@@ -22,7 +22,6 @@ namespace Common.UI
LightSwitch,
FancyZones,
FileLocksmith,
- Run,
ImageResizer,
KBM,
MouseUtils,
@@ -30,7 +29,6 @@ namespace Common.UI
Peek,
PowerAccent,
PowerLauncher,
- PowerPreview,
PowerRename,
FileExplorer,
ShortcutGuide,
@@ -45,7 +43,6 @@ namespace Common.UI
NewPlus,
CmdPal,
ZoomIt,
- PowerDisplay,
}
private static string SettingsWindowNameToString(SettingsWindow value)
@@ -70,8 +67,6 @@ namespace Common.UI
return "FancyZones";
case SettingsWindow.FileLocksmith:
return "FileLocksmith";
- case SettingsWindow.Run:
- return "Run";
case SettingsWindow.ImageResizer:
return "ImageResizer";
case SettingsWindow.KBM:
@@ -86,8 +81,6 @@ namespace Common.UI
return "PowerAccent";
case SettingsWindow.PowerLauncher:
return "PowerLauncher";
- case SettingsWindow.PowerPreview:
- return "PowerPreview";
case SettingsWindow.PowerRename:
return "PowerRename";
case SettingsWindow.FileExplorer:
@@ -116,8 +109,6 @@ namespace Common.UI
return "CmdPal";
case SettingsWindow.ZoomIt:
return "ZoomIt";
- case SettingsWindow.PowerDisplay:
- return "PowerDisplay";
default:
{
return string.Empty;
diff --git a/src/modules/cmdpal/ext/Microsoft.CmdPal.Ext.PowerToys/Helpers/ModuleEnablementService.cs b/src/modules/cmdpal/ext/Microsoft.CmdPal.Ext.PowerToys/Helpers/ModuleEnablementService.cs
index fccf5b8687..561191342d 100644
--- a/src/modules/cmdpal/ext/Microsoft.CmdPal.Ext.PowerToys/Helpers/ModuleEnablementService.cs
+++ b/src/modules/cmdpal/ext/Microsoft.CmdPal.Ext.PowerToys/Helpers/ModuleEnablementService.cs
@@ -112,7 +112,6 @@ internal static class ModuleEnablementService
SettingsWindow.Peek => "Peek",
SettingsWindow.PowerAccent => "QuickAccent",
SettingsWindow.PowerLauncher => "PowerToys Run",
- SettingsWindow.Run => "PowerToys Run",
SettingsWindow.PowerRename => "PowerRename",
SettingsWindow.PowerOCR => "TextExtractor",
SettingsWindow.RegistryPreview => "RegistryPreview",
diff --git a/src/modules/cmdpal/ext/Microsoft.CmdPal.Ext.PowerToys/Helpers/PowerToysResourcesHelper.cs b/src/modules/cmdpal/ext/Microsoft.CmdPal.Ext.PowerToys/Helpers/PowerToysResourcesHelper.cs
index f1ea3002d9..234c1f2ede 100644
--- a/src/modules/cmdpal/ext/Microsoft.CmdPal.Ext.PowerToys/Helpers/PowerToysResourcesHelper.cs
+++ b/src/modules/cmdpal/ext/Microsoft.CmdPal.Ext.PowerToys/Helpers/PowerToysResourcesHelper.cs
@@ -35,7 +35,6 @@ internal static class PowerToysResourcesHelper
SettingsWindow.EnvironmentVariables => "EnvironmentVariables.png",
SettingsWindow.Awake => "Awake.png",
SettingsWindow.PowerRename => "PowerRename.png",
- SettingsWindow.Run => "PowerToysRun.png",
SettingsWindow.ImageResizer => "ImageResizer.png",
SettingsWindow.KBM => "KeyboardManager.png",
SettingsWindow.MouseUtils => "MouseUtils.png",
@@ -53,7 +52,6 @@ internal static class PowerToysResourcesHelper
SettingsWindow.MouseWithoutBorders => "MouseWithoutBorders.png",
SettingsWindow.PowerAccent => "QuickAccent.png",
SettingsWindow.PowerLauncher => "PowerToysRun.png",
- SettingsWindow.PowerPreview => "FileExplorerPreview.png",
SettingsWindow.Overview => "PowerToys.png",
SettingsWindow.Dashboard => "PowerToys.png",
_ => "PowerToys.png",
@@ -77,7 +75,6 @@ internal static class PowerToysResourcesHelper
SettingsWindow.EnvironmentVariables => "Environment Variables",
SettingsWindow.Awake => "Awake",
SettingsWindow.PowerRename => "PowerRename",
- SettingsWindow.Run => "PowerToys Run",
SettingsWindow.ImageResizer => "Image Resizer",
SettingsWindow.KBM => "Keyboard Manager",
SettingsWindow.MouseUtils => "Mouse Utilities",
@@ -97,7 +94,6 @@ internal static class PowerToysResourcesHelper
SettingsWindow.Overview => "General",
SettingsWindow.Dashboard => "Dashboard",
SettingsWindow.PowerLauncher => "PowerToys Run",
- SettingsWindow.PowerPreview => "File Explorer Add-ons",
_ => module.ToString(),
};
}