Repository navigation
[Windows] Fix SearchHandler FontSize, FontFamily, VerticalTextAlignment, and FontAttributes are not applied - #36700
Merged
kubaflo merged 7 commits intoJul 26, 2026
Conversation
devanathan-vaithiyanathan
had a problem deploying
to
copilot-pat-pool
July 21, 2026 11:43 — with
GitHub Actions
Failure
Contributor
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.sh | bash -s -- 36700Or
iex "& { $(irm https://raw.githubusercontent.com/dotnet/maui/main/eng/scripts/get-maui-pr.ps1) } 36700" |
|
Azure Pipelines: Successfully started running 1 pipeline(s). There may be pipelines that require an authorized user to comment /azp run to run. |
sheiksyedm
marked this pull request as ready for review
July 22, 2026 14:28
|
Azure Pipelines: Successfully started running 1 pipeline(s). There may be pipelines that require an authorized user to comment /azp run to run. |
Contributor
|
/azp run maui-pr-uitests , maui-pr-devicetests |
|
Azure Pipelines: Successfully started running 2 pipeline(s). |
Contributor
There was a problem hiding this comment.
Pull request overview
Fixes missing application of SearchHandler font-related properties on Windows by updating the WinUI AutoSuggestBox when a SearchHandler is attached and when relevant properties change, and adds a UI test page + screenshot test for regression coverage.
Changes:
- Add a Windows
AutoSuggestBoxextension to update theSearchHandlerfont viaIFontManager. - Apply
SearchHandlerfont updates during initial attach and onFontFamily/FontSize/FontAttributeschanges inShellItemHandler(Windows). - Add HostApp repro page + UITest screenshot coverage for issue #36629.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue36629.cs | Adds a screenshot-based UI regression test for the SearchHandler font/alignment scenario. |
| src/Controls/tests/TestCases.HostApp/Issues/Issue36629.cs | Adds a HostApp Shell-based repro page configuring SearchHandler font/alignment properties. |
| src/Controls/src/Core/Platform/Windows/Extensions/AutoSuggestBoxExtensions.cs | Adds UpdateSearchHandlerFont(...) to apply SearchHandler font settings to WinUI AutoSuggestBox. |
| src/Controls/src/Core/Handlers/Shell/ShellItemHandler.Windows.cs | Applies font updates on SearchHandler attach and when font-related properties change. |
Comment on lines
+547
to
+551
| case nameof(SearchHandler.FontFamily): | ||
| case nameof(SearchHandler.FontSize): | ||
| case nameof(SearchHandler.FontAttributes): | ||
| autoSuggestBox.UpdateSearchHandlerFont(_currentSearchHandler, this.GetRequiredService<IFontManager>()); | ||
| break; |
Comment on lines
+16
to
+18
| { | ||
| // Wait for the page to load | ||
| App.WaitForElement("ContentLabel36629"); |
This comment has been minimized.
This comment has been minimized.
kubaflo
approved these changes
Jul 26, 2026
This was referenced Jul 27, 2026
kubaflo
added a commit
that referenced
this pull request
Jul 28, 2026
…nt, and FontAttributes are not applied (#36700) <!-- Please let the below note in for people that find this PR --> > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! ### Issue Details On Windows, the following SearchHandler properties were silently ignored: FontSize, FontFamily, and FontAttributes. ### Description of Changes: * AutoSuggestBoxExtensions.cs — Added UpdateSearchHandlerFont() extension method that delegates to UpdateFont(searchHandler.ToFont(), fontManager). * ShellItemHandler.Windows.cs — Called UpdateSearchHandlerFont on initial SearchHandler attach, and added case branches for FontFamily, FontSize, and FontAttributes in the property-changed handler. ### Description of Change <!-- Enter description of the fix in this section --> ### Issues Fixed <!-- Please make sure that there is a bug logged for the issue being fixed. The bug should describe the problem and how to reproduce it. --> Fixes #36629 <!-- Are you targeting main? All PRs should target the main branch unless otherwise noted. --> **Tested the behavior in the following platforms.** - [x] Android - [x] Windows - [x] iOS - [x] Mac | Before | After | |---------|--------| | **Windows**<br> <video src="https://github.com/user-attachments/assets/16b6a291-7c63-4c08-a3b1-4d4f9e601806" width="600" height="300"> | **Windows**<br> <video src="https://github.com/user-attachments/assets/a16b4533-017e-46e7-bed3-69b434becb0a" width="600" height="300"> | --------- Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
kubaflo
added a commit
that referenced
this pull request
Jul 29, 2026
…nt, and FontAttributes are not applied (#36700) <!-- Please let the below note in for people that find this PR --> > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! ### Issue Details On Windows, the following SearchHandler properties were silently ignored: FontSize, FontFamily, and FontAttributes. ### Description of Changes: * AutoSuggestBoxExtensions.cs — Added UpdateSearchHandlerFont() extension method that delegates to UpdateFont(searchHandler.ToFont(), fontManager). * ShellItemHandler.Windows.cs — Called UpdateSearchHandlerFont on initial SearchHandler attach, and added case branches for FontFamily, FontSize, and FontAttributes in the property-changed handler. ### Description of Change <!-- Enter description of the fix in this section --> ### Issues Fixed <!-- Please make sure that there is a bug logged for the issue being fixed. The bug should describe the problem and how to reproduce it. --> Fixes #36629 <!-- Are you targeting main? All PRs should target the main branch unless otherwise noted. --> **Tested the behavior in the following platforms.** - [x] Android - [x] Windows - [x] iOS - [x] Mac | Before | After | |---------|--------| | **Windows**<br> <video src="https://github.com/user-attachments/assets/16b6a291-7c63-4c08-a3b1-4d4f9e601806" width="600" height="300"> | **Windows**<br> <video src="https://github.com/user-attachments/assets/a16b4533-017e-46e7-bed3-69b434becb0a" width="600" height="300"> | --------- Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
kubaflo
added a commit
that referenced
this pull request
Aug 7, 2026
…nt, and FontAttributes are not applied (#36700) <!-- Please let the below note in for people that find this PR --> > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! ### Issue Details On Windows, the following SearchHandler properties were silently ignored: FontSize, FontFamily, and FontAttributes. ### Description of Changes: * AutoSuggestBoxExtensions.cs — Added UpdateSearchHandlerFont() extension method that delegates to UpdateFont(searchHandler.ToFont(), fontManager). * ShellItemHandler.Windows.cs — Called UpdateSearchHandlerFont on initial SearchHandler attach, and added case branches for FontFamily, FontSize, and FontAttributes in the property-changed handler. ### Description of Change <!-- Enter description of the fix in this section --> ### Issues Fixed <!-- Please make sure that there is a bug logged for the issue being fixed. The bug should describe the problem and how to reproduce it. --> Fixes #36629 <!-- Are you targeting main? All PRs should target the main branch unless otherwise noted. --> **Tested the behavior in the following platforms.** - [x] Android - [x] Windows - [x] iOS - [x] Mac | Before | After | |---------|--------| | **Windows**<br> <video src="https://github.com/user-attachments/assets/16b6a291-7c63-4c08-a3b1-4d4f9e601806" width="600" height="300"> | **Windows**<br> <video src="https://github.com/user-attachments/assets/a16b4533-017e-46e7-bed3-69b434becb0a" width="600" height="300"> | --------- Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
kubaflo
added a commit
that referenced
this pull request
Aug 12, 2026
…nt, and FontAttributes are not applied (#36700) <!-- Please let the below note in for people that find this PR --> > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! ### Issue Details On Windows, the following SearchHandler properties were silently ignored: FontSize, FontFamily, and FontAttributes. ### Description of Changes: * AutoSuggestBoxExtensions.cs — Added UpdateSearchHandlerFont() extension method that delegates to UpdateFont(searchHandler.ToFont(), fontManager). * ShellItemHandler.Windows.cs — Called UpdateSearchHandlerFont on initial SearchHandler attach, and added case branches for FontFamily, FontSize, and FontAttributes in the property-changed handler. ### Description of Change <!-- Enter description of the fix in this section --> ### Issues Fixed <!-- Please make sure that there is a bug logged for the issue being fixed. The bug should describe the problem and how to reproduce it. --> Fixes #36629 <!-- Are you targeting main? All PRs should target the main branch unless otherwise noted. --> **Tested the behavior in the following platforms.** - [x] Android - [x] Windows - [x] iOS - [x] Mac | Before | After | |---------|--------| | **Windows**<br> <video src="https://github.com/user-attachments/assets/16b6a291-7c63-4c08-a3b1-4d4f9e601806" width="600" height="300"> | **Windows**<br> <video src="https://github.com/user-attachments/assets/a16b4533-017e-46e7-bed3-69b434becb0a" width="600" height="300"> | --------- Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
LogishaSelvarajSF4525
added a commit
to LogishaSelvarajSF4525/maui
that referenced
this pull request
Aug 18, 2026
…tAlignment, and FontAttributes are not applied (dotnet#36700)" Note : This revert changes for checking purpose, do not merge it.
LogishaSelvarajSF4525
added a commit
to LogishaSelvarajSF4525/maui
that referenced
this pull request
Aug 18, 2026
LogishaSelvarajSF4525
added a commit
to LogishaSelvarajSF4525/maui
that referenced
this pull request
Aug 19, 2026
…xtAlignment, and FontAttributes are not applied (dotnet#36700)" This reverts commit 650464d.
kubaflo
added a commit
that referenced
this pull request
Aug 27, 2026
…nt, and FontAttributes are not applied (#36700) <!-- Please let the below note in for people that find this PR --> > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! ### Issue Details On Windows, the following SearchHandler properties were silently ignored: FontSize, FontFamily, and FontAttributes. ### Description of Changes: * AutoSuggestBoxExtensions.cs — Added UpdateSearchHandlerFont() extension method that delegates to UpdateFont(searchHandler.ToFont(), fontManager). * ShellItemHandler.Windows.cs — Called UpdateSearchHandlerFont on initial SearchHandler attach, and added case branches for FontFamily, FontSize, and FontAttributes in the property-changed handler. ### Description of Change <!-- Enter description of the fix in this section --> ### Issues Fixed <!-- Please make sure that there is a bug logged for the issue being fixed. The bug should describe the problem and how to reproduce it. --> Fixes #36629 <!-- Are you targeting main? All PRs should target the main branch unless otherwise noted. --> **Tested the behavior in the following platforms.** - [x] Android - [x] Windows - [x] iOS - [x] Mac | Before | After | |---------|--------| | **Windows**<br> <video src="https://github.com/user-attachments/assets/16b6a291-7c63-4c08-a3b1-4d4f9e601806" width="600" height="300"> | **Windows**<br> <video src="https://github.com/user-attachments/assets/a16b4533-017e-46e7-bed3-69b434becb0a" width="600" height="300"> | --------- Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
kubaflo
added a commit
that referenced
this pull request
Sep 2, 2026
…nt, and FontAttributes are not applied (#36700) <!-- Please let the below note in for people that find this PR --> > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! ### Issue Details On Windows, the following SearchHandler properties were silently ignored: FontSize, FontFamily, and FontAttributes. ### Description of Changes: * AutoSuggestBoxExtensions.cs — Added UpdateSearchHandlerFont() extension method that delegates to UpdateFont(searchHandler.ToFont(), fontManager). * ShellItemHandler.Windows.cs — Called UpdateSearchHandlerFont on initial SearchHandler attach, and added case branches for FontFamily, FontSize, and FontAttributes in the property-changed handler. ### Description of Change <!-- Enter description of the fix in this section --> ### Issues Fixed <!-- Please make sure that there is a bug logged for the issue being fixed. The bug should describe the problem and how to reproduce it. --> Fixes #36629 <!-- Are you targeting main? All PRs should target the main branch unless otherwise noted. --> **Tested the behavior in the following platforms.** - [x] Android - [x] Windows - [x] iOS - [x] Mac | Before | After | |---------|--------| | **Windows**<br> <video src="https://github.com/user-attachments/assets/16b6a291-7c63-4c08-a3b1-4d4f9e601806" width="600" height="300"> | **Windows**<br> <video src="https://github.com/user-attachments/assets/a16b4533-017e-46e7-bed3-69b434becb0a" width="600" height="300"> | --------- Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
kubaflo
added a commit
that referenced
this pull request
Sep 3, 2026
…nt, and FontAttributes are not applied (#36700) <!-- Please let the below note in for people that find this PR --> > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! ### Issue Details On Windows, the following SearchHandler properties were silently ignored: FontSize, FontFamily, and FontAttributes. ### Description of Changes: * AutoSuggestBoxExtensions.cs — Added UpdateSearchHandlerFont() extension method that delegates to UpdateFont(searchHandler.ToFont(), fontManager). * ShellItemHandler.Windows.cs — Called UpdateSearchHandlerFont on initial SearchHandler attach, and added case branches for FontFamily, FontSize, and FontAttributes in the property-changed handler. ### Description of Change <!-- Enter description of the fix in this section --> ### Issues Fixed <!-- Please make sure that there is a bug logged for the issue being fixed. The bug should describe the problem and how to reproduce it. --> Fixes #36629 <!-- Are you targeting main? All PRs should target the main branch unless otherwise noted. --> **Tested the behavior in the following platforms.** - [x] Android - [x] Windows - [x] iOS - [x] Mac | Before | After | |---------|--------| | **Windows**<br> <video src="https://github.com/user-attachments/assets/16b6a291-7c63-4c08-a3b1-4d4f9e601806" width="600" height="300"> | **Windows**<br> <video src="https://github.com/user-attachments/assets/a16b4533-017e-46e7-bed3-69b434becb0a" width="600" height="300"> | --------- Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
kubaflo
added a commit
that referenced
this pull request
Sep 3, 2026
…nt, and FontAttributes are not applied (#36700) <!-- Please let the below note in for people that find this PR --> > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! ### Issue Details On Windows, the following SearchHandler properties were silently ignored: FontSize, FontFamily, and FontAttributes. ### Description of Changes: * AutoSuggestBoxExtensions.cs — Added UpdateSearchHandlerFont() extension method that delegates to UpdateFont(searchHandler.ToFont(), fontManager). * ShellItemHandler.Windows.cs — Called UpdateSearchHandlerFont on initial SearchHandler attach, and added case branches for FontFamily, FontSize, and FontAttributes in the property-changed handler. ### Description of Change <!-- Enter description of the fix in this section --> ### Issues Fixed <!-- Please make sure that there is a bug logged for the issue being fixed. The bug should describe the problem and how to reproduce it. --> Fixes #36629 <!-- Are you targeting main? All PRs should target the main branch unless otherwise noted. --> **Tested the behavior in the following platforms.** - [x] Android - [x] Windows - [x] iOS - [x] Mac | Before | After | |---------|--------| | **Windows**<br> <video src="https://github.com/user-attachments/assets/16b6a291-7c63-4c08-a3b1-4d4f9e601806" width="600" height="300"> | **Windows**<br> <video src="https://github.com/user-attachments/assets/a16b4533-017e-46e7-bed3-69b434becb0a" width="600" height="300"> | --------- Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
kubaflo
added a commit
that referenced
this pull request
Sep 4, 2026
…nt, and FontAttributes are not applied (#36700) <!-- Please let the below note in for people that find this PR --> > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! ### Issue Details On Windows, the following SearchHandler properties were silently ignored: FontSize, FontFamily, and FontAttributes. ### Description of Changes: * AutoSuggestBoxExtensions.cs — Added UpdateSearchHandlerFont() extension method that delegates to UpdateFont(searchHandler.ToFont(), fontManager). * ShellItemHandler.Windows.cs — Called UpdateSearchHandlerFont on initial SearchHandler attach, and added case branches for FontFamily, FontSize, and FontAttributes in the property-changed handler. ### Description of Change <!-- Enter description of the fix in this section --> ### Issues Fixed <!-- Please make sure that there is a bug logged for the issue being fixed. The bug should describe the problem and how to reproduce it. --> Fixes #36629 <!-- Are you targeting main? All PRs should target the main branch unless otherwise noted. --> **Tested the behavior in the following platforms.** - [x] Android - [x] Windows - [x] iOS - [x] Mac | Before | After | |---------|--------| | **Windows**<br> <video src="https://github.com/user-attachments/assets/16b6a291-7c63-4c08-a3b1-4d4f9e601806" width="600" height="300"> | **Windows**<br> <video src="https://github.com/user-attachments/assets/a16b4533-017e-46e7-bed3-69b434becb0a" width="600" height="300"> | --------- Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
kubaflo
added a commit
that referenced
this pull request
Sep 6, 2026
…nt, and FontAttributes are not applied (#36700) <!-- Please let the below note in for people that find this PR --> > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! ### Issue Details On Windows, the following SearchHandler properties were silently ignored: FontSize, FontFamily, and FontAttributes. ### Description of Changes: * AutoSuggestBoxExtensions.cs — Added UpdateSearchHandlerFont() extension method that delegates to UpdateFont(searchHandler.ToFont(), fontManager). * ShellItemHandler.Windows.cs — Called UpdateSearchHandlerFont on initial SearchHandler attach, and added case branches for FontFamily, FontSize, and FontAttributes in the property-changed handler. ### Description of Change <!-- Enter description of the fix in this section --> ### Issues Fixed <!-- Please make sure that there is a bug logged for the issue being fixed. The bug should describe the problem and how to reproduce it. --> Fixes #36629 <!-- Are you targeting main? All PRs should target the main branch unless otherwise noted. --> **Tested the behavior in the following platforms.** - [x] Android - [x] Windows - [x] iOS - [x] Mac | Before | After | |---------|--------| | **Windows**<br> <video src="https://github.com/user-attachments/assets/16b6a291-7c63-4c08-a3b1-4d4f9e601806" width="600" height="300"> | **Windows**<br> <video src="https://github.com/user-attachments/assets/a16b4533-017e-46e7-bed3-69b434becb0a" width="600" height="300"> | --------- Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
kubaflo
added a commit
that referenced
this pull request
Sep 7, 2026
…nt, and FontAttributes are not applied (#36700) <!-- Please let the below note in for people that find this PR --> > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! ### Issue Details On Windows, the following SearchHandler properties were silently ignored: FontSize, FontFamily, and FontAttributes. ### Description of Changes: * AutoSuggestBoxExtensions.cs — Added UpdateSearchHandlerFont() extension method that delegates to UpdateFont(searchHandler.ToFont(), fontManager). * ShellItemHandler.Windows.cs — Called UpdateSearchHandlerFont on initial SearchHandler attach, and added case branches for FontFamily, FontSize, and FontAttributes in the property-changed handler. ### Description of Change <!-- Enter description of the fix in this section --> ### Issues Fixed <!-- Please make sure that there is a bug logged for the issue being fixed. The bug should describe the problem and how to reproduce it. --> Fixes #36629 <!-- Are you targeting main? All PRs should target the main branch unless otherwise noted. --> **Tested the behavior in the following platforms.** - [x] Android - [x] Windows - [x] iOS - [x] Mac | Before | After | |---------|--------| | **Windows**<br> <video src="https://github.com/user-attachments/assets/16b6a291-7c63-4c08-a3b1-4d4f9e601806" width="600" height="300"> | **Windows**<br> <video src="https://github.com/user-attachments/assets/a16b4533-017e-46e7-bed3-69b434becb0a" width="600" height="300"> | --------- Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
kubaflo
added a commit
that referenced
this pull request
Sep 7, 2026
…nt, and FontAttributes are not applied (#36700) <!-- Please let the below note in for people that find this PR --> > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! ### Issue Details On Windows, the following SearchHandler properties were silently ignored: FontSize, FontFamily, and FontAttributes. ### Description of Changes: * AutoSuggestBoxExtensions.cs — Added UpdateSearchHandlerFont() extension method that delegates to UpdateFont(searchHandler.ToFont(), fontManager). * ShellItemHandler.Windows.cs — Called UpdateSearchHandlerFont on initial SearchHandler attach, and added case branches for FontFamily, FontSize, and FontAttributes in the property-changed handler. ### Description of Change <!-- Enter description of the fix in this section --> ### Issues Fixed <!-- Please make sure that there is a bug logged for the issue being fixed. The bug should describe the problem and how to reproduce it. --> Fixes #36629 <!-- Are you targeting main? All PRs should target the main branch unless otherwise noted. --> **Tested the behavior in the following platforms.** - [x] Android - [x] Windows - [x] iOS - [x] Mac | Before | After | |---------|--------| | **Windows**<br> <video src="https://github.com/user-attachments/assets/16b6a291-7c63-4c08-a3b1-4d4f9e601806" width="600" height="300"> | **Windows**<br> <video src="https://github.com/user-attachments/assets/a16b4533-017e-46e7-bed3-69b434becb0a" width="600" height="300"> | --------- Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
kubaflo
added a commit
that referenced
this pull request
Sep 8, 2026
…nt, and FontAttributes are not applied (#36700) <!-- Please let the below note in for people that find this PR --> > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! ### Issue Details On Windows, the following SearchHandler properties were silently ignored: FontSize, FontFamily, and FontAttributes. ### Description of Changes: * AutoSuggestBoxExtensions.cs — Added UpdateSearchHandlerFont() extension method that delegates to UpdateFont(searchHandler.ToFont(), fontManager). * ShellItemHandler.Windows.cs — Called UpdateSearchHandlerFont on initial SearchHandler attach, and added case branches for FontFamily, FontSize, and FontAttributes in the property-changed handler. ### Description of Change <!-- Enter description of the fix in this section --> ### Issues Fixed <!-- Please make sure that there is a bug logged for the issue being fixed. The bug should describe the problem and how to reproduce it. --> Fixes #36629 <!-- Are you targeting main? All PRs should target the main branch unless otherwise noted. --> **Tested the behavior in the following platforms.** - [x] Android - [x] Windows - [x] iOS - [x] Mac | Before | After | |---------|--------| | **Windows**<br> <video src="https://github.com/user-attachments/assets/16b6a291-7c63-4c08-a3b1-4d4f9e601806" width="600" height="300"> | **Windows**<br> <video src="https://github.com/user-attachments/assets/a16b4533-017e-46e7-bed3-69b434becb0a" width="600" height="300"> | --------- Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
kubaflo
added a commit
that referenced
this pull request
Sep 8, 2026
…nt, and FontAttributes are not applied (#36700) <!-- Please let the below note in for people that find this PR --> > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! ### Issue Details On Windows, the following SearchHandler properties were silently ignored: FontSize, FontFamily, and FontAttributes. ### Description of Changes: * AutoSuggestBoxExtensions.cs — Added UpdateSearchHandlerFont() extension method that delegates to UpdateFont(searchHandler.ToFont(), fontManager). * ShellItemHandler.Windows.cs — Called UpdateSearchHandlerFont on initial SearchHandler attach, and added case branches for FontFamily, FontSize, and FontAttributes in the property-changed handler. ### Description of Change <!-- Enter description of the fix in this section --> ### Issues Fixed <!-- Please make sure that there is a bug logged for the issue being fixed. The bug should describe the problem and how to reproduce it. --> Fixes #36629 <!-- Are you targeting main? All PRs should target the main branch unless otherwise noted. --> **Tested the behavior in the following platforms.** - [x] Android - [x] Windows - [x] iOS - [x] Mac | Before | After | |---------|--------| | **Windows**<br> <video src="https://github.com/user-attachments/assets/16b6a291-7c63-4c08-a3b1-4d4f9e601806" width="600" height="300"> | **Windows**<br> <video src="https://github.com/user-attachments/assets/a16b4533-017e-46e7-bed3-69b434becb0a" width="600" height="300"> | --------- Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
kubaflo
added a commit
that referenced
this pull request
Sep 9, 2026
…nt, and FontAttributes are not applied (#36700) <!-- Please let the below note in for people that find this PR --> > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! ### Issue Details On Windows, the following SearchHandler properties were silently ignored: FontSize, FontFamily, and FontAttributes. ### Description of Changes: * AutoSuggestBoxExtensions.cs — Added UpdateSearchHandlerFont() extension method that delegates to UpdateFont(searchHandler.ToFont(), fontManager). * ShellItemHandler.Windows.cs — Called UpdateSearchHandlerFont on initial SearchHandler attach, and added case branches for FontFamily, FontSize, and FontAttributes in the property-changed handler. ### Description of Change <!-- Enter description of the fix in this section --> ### Issues Fixed <!-- Please make sure that there is a bug logged for the issue being fixed. The bug should describe the problem and how to reproduce it. --> Fixes #36629 <!-- Are you targeting main? All PRs should target the main branch unless otherwise noted. --> **Tested the behavior in the following platforms.** - [x] Android - [x] Windows - [x] iOS - [x] Mac | Before | After | |---------|--------| | **Windows**<br> <video src="https://github.com/user-attachments/assets/16b6a291-7c63-4c08-a3b1-4d4f9e601806" width="600" height="300"> | **Windows**<br> <video src="https://github.com/user-attachments/assets/a16b4533-017e-46e7-bed3-69b434becb0a" width="600" height="300"> | --------- Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
kubaflo
added a commit
that referenced
this pull request
Sep 9, 2026
…nt, and FontAttributes are not applied (#36700) <!-- Please let the below note in for people that find this PR --> > [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! ### Issue Details On Windows, the following SearchHandler properties were silently ignored: FontSize, FontFamily, and FontAttributes. ### Description of Changes: * AutoSuggestBoxExtensions.cs — Added UpdateSearchHandlerFont() extension method that delegates to UpdateFont(searchHandler.ToFont(), fontManager). * ShellItemHandler.Windows.cs — Called UpdateSearchHandlerFont on initial SearchHandler attach, and added case branches for FontFamily, FontSize, and FontAttributes in the property-changed handler. ### Description of Change <!-- Enter description of the fix in this section --> ### Issues Fixed <!-- Please make sure that there is a bug logged for the issue being fixed. The bug should describe the problem and how to reproduce it. --> Fixes #36629 <!-- Are you targeting main? All PRs should target the main branch unless otherwise noted. --> **Tested the behavior in the following platforms.** - [x] Android - [x] Windows - [x] iOS - [x] Mac | Before | After | |---------|--------| | **Windows**<br> <video src="https://github.com/user-attachments/assets/16b6a291-7c63-4c08-a3b1-4d4f9e601806" width="600" height="300"> | **Windows**<br> <video src="https://github.com/user-attachments/assets/a16b4533-017e-46e7-bed3-69b434becb0a" width="600" height="300"> | --------- Co-authored-by: Jakub Florkowski <42434498+kubaflo@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
Are you waiting for the changes in this PR to be merged?
It would be very helpful if you could test the resulting artifacts from this PR and let us know in a comment if this change resolves your issue. Thank you!
Issue Details
On Windows, the following SearchHandler properties were silently ignored: FontSize, FontFamily, and FontAttributes.
Description of Changes:
Description of Change
Issues Fixed
Fixes #36629
Tested the behavior in the following platforms.
Before.mp4
After.mp4