From e378fd626121d16e72814cec1f341ea6d03cbc6d Mon Sep 17 00:00:00 2001 From: Saravanan Ganapathi Date: Mon, 22 Sep 2025 13:18:07 +0530 Subject: [PATCH 1/2] Fixed issue where clicking home icon on the Omnibar from Tags panel search results would not navigate to home --- .../ViewModels/UserControls/NavigationToolbarViewModel.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Files.App/ViewModels/UserControls/NavigationToolbarViewModel.cs b/src/Files.App/ViewModels/UserControls/NavigationToolbarViewModel.cs index 0fc66c0bcc11..0382dbf0842d 100644 --- a/src/Files.App/ViewModels/UserControls/NavigationToolbarViewModel.cs +++ b/src/Files.App/ViewModels/UserControls/NavigationToolbarViewModel.cs @@ -510,7 +510,8 @@ public async Task HandleItemNavigationAsync(string path) return; if (normalizedInput.Equals(ContentPageContext.ShellPage.ShellViewModel.WorkingDirectory) && - ContentPageContext.ShellPage.CurrentPageType != typeof(HomePage)) + ContentPageContext.ShellPage.CurrentPageType != typeof(HomePage) && + !ContentPageContext.ShellPage.ShellViewModel.IsSearchResults) return; if (normalizedInput.Equals("Home", StringComparison.OrdinalIgnoreCase) || From 1026d567c7bae2929ea19ff40092445fe0c691a3 Mon Sep 17 00:00:00 2001 From: Saravanan Ganapathi Date: Mon, 22 Sep 2025 13:18:07 +0530 Subject: [PATCH 2/2] Fix: Fixed issue where clicking home icon on the Omnibar from Tags panel search results would not navigate to home --- .../ViewModels/UserControls/NavigationToolbarViewModel.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Files.App/ViewModels/UserControls/NavigationToolbarViewModel.cs b/src/Files.App/ViewModels/UserControls/NavigationToolbarViewModel.cs index 0fc66c0bcc11..0382dbf0842d 100644 --- a/src/Files.App/ViewModels/UserControls/NavigationToolbarViewModel.cs +++ b/src/Files.App/ViewModels/UserControls/NavigationToolbarViewModel.cs @@ -510,7 +510,8 @@ public async Task HandleItemNavigationAsync(string path) return; if (normalizedInput.Equals(ContentPageContext.ShellPage.ShellViewModel.WorkingDirectory) && - ContentPageContext.ShellPage.CurrentPageType != typeof(HomePage)) + ContentPageContext.ShellPage.CurrentPageType != typeof(HomePage) && + !ContentPageContext.ShellPage.ShellViewModel.IsSearchResults) return; if (normalizedInput.Equals("Home", StringComparison.OrdinalIgnoreCase) ||