Use Minimize instead of Hide for now
MODIFY
WalletWasabi.Fluent/Behaviors/HideShowBehavior.cs
WalletWasabi.Fluent/Behaviors/HideShowBehavior.cs
@@ -49,9 +49,15 @@ namespace WalletWasabi.Fluent.Behaviors
.Subscribe(args =>
{
if (Services.UiConfig.HideOnClose)
+ {
+ if (AssociatedObject.WindowState is not WindowState.Minimized)
{
args.EventArgs.Cancel = true;
- AssociatedObject.Hide();
+ }
+
+ // AssociatedObject.Hide() and show Tray icon.
+ // Temporary solution is to Minimize
+ AssociatedObject.WindowState = WindowState.Minimized;
}
})
.DisposeWith(disposables);

Use Minimize instead of Hide for now