From 03965a22848e98c7f51b4655e9c9d4decbb5bf68 Mon Sep 17 00:00:00 2001 From: Christoph Wille Date: Thu, 30 Jul 2026 14:57:18 +0200 Subject: [PATCH] Hide modal dialogs from the taskbar Avalonia windows default to ShowInTaskbar=true, so every owned modal dialog (Open from GAC/NuGet feed/running process, Manage Assembly Lists, Export Project, Create List, Set Target Framework) got its own taskbar button, which is not standard Windows behavior. The assertion and crash dialogs intentionally keep their buttons so an interrupted session stays easy to find. Assisted-by: Claude:claude-fable-5:Claude Code --- ILSpy/Views/CreateListDialog.axaml | 1 + ILSpy/Views/ExportProjectDialog.axaml | 1 + ILSpy/Views/ManageAssemblyListsDialog.axaml | 1 + ILSpy/Views/OpenFromGacDialog.axaml | 1 + ILSpy/Views/OpenFromNuGetFeedDialog.axaml | 1 + ILSpy/Views/OpenFromProcessDialog.axaml | 1 + ILSpy/Views/SetTargetFrameworkDialog.axaml | 1 + 7 files changed, 7 insertions(+) diff --git a/ILSpy/Views/CreateListDialog.axaml b/ILSpy/Views/CreateListDialog.axaml index b520bce90..58dc1806a 100644 --- a/ILSpy/Views/CreateListDialog.axaml +++ b/ILSpy/Views/CreateListDialog.axaml @@ -3,6 +3,7 @@ x:Class="ICSharpCode.ILSpy.Views.CreateListDialog" Width="320" Height="160" CanResize="False" WindowStartupLocation="CenterOwner" + ShowInTaskbar="False" Title="ILSpy"> diff --git a/ILSpy/Views/ExportProjectDialog.axaml b/ILSpy/Views/ExportProjectDialog.axaml index a467f4388..9ce6872fc 100644 --- a/ILSpy/Views/ExportProjectDialog.axaml +++ b/ILSpy/Views/ExportProjectDialog.axaml @@ -5,6 +5,7 @@ Width="560" MinWidth="460" MinHeight="440" MaxHeight="900" SizeToContent="Height" WindowStartupLocation="CenterOwner" + ShowInTaskbar="False" Title="Export Project"> diff --git a/ILSpy/Views/OpenFromGacDialog.axaml b/ILSpy/Views/OpenFromGacDialog.axaml index eadd59d4d..0b7724ccb 100644 --- a/ILSpy/Views/OpenFromGacDialog.axaml +++ b/ILSpy/Views/OpenFromGacDialog.axaml @@ -3,6 +3,7 @@ x:Class="ICSharpCode.ILSpy.Views.OpenFromGacDialog" Width="750" Height="350" MinWidth="200" MinHeight="150" WindowStartupLocation="CenterOwner" + ShowInTaskbar="False" CanResize="True"> diff --git a/ILSpy/Views/OpenFromNuGetFeedDialog.axaml b/ILSpy/Views/OpenFromNuGetFeedDialog.axaml index 78d86cffa..95ba92c42 100644 --- a/ILSpy/Views/OpenFromNuGetFeedDialog.axaml +++ b/ILSpy/Views/OpenFromNuGetFeedDialog.axaml @@ -6,6 +6,7 @@ x:DataType="vm:OpenFromNuGetFeedDialogViewModel" Width="1000" Height="650" MinWidth="700" MinHeight="400" WindowStartupLocation="CenterOwner" + ShowInTaskbar="False" CanResize="True"> diff --git a/ILSpy/Views/OpenFromProcessDialog.axaml b/ILSpy/Views/OpenFromProcessDialog.axaml index 3dddf19e6..c268392a4 100644 --- a/ILSpy/Views/OpenFromProcessDialog.axaml +++ b/ILSpy/Views/OpenFromProcessDialog.axaml @@ -5,6 +5,7 @@ x:DataType="vm:OpenFromProcessDialogViewModel" Width="850" Height="560" MinWidth="500" MinHeight="360" WindowStartupLocation="CenterOwner" + ShowInTaskbar="False" CanResize="True">