Skip to content

[Windows] Fix LineHeight values <1 having no effect by setting LineStackingStrategy to BlockLineHeight - #31289

Merged
rmarinho merged 10 commits into
dotnet:net10.0from
MartyIX:feature/2025-08-22-windows-Change_the_LineStackingStrategy_to_BlockLineHeight_for_Labels
Sep 19, 2025
Merged

[Windows] Fix LineHeight values <1 having no effect by setting LineStackingStrategy to BlockLineHeight#31289
rmarinho merged 10 commits into
dotnet:net10.0from
MartyIX:feature/2025-08-22-windows-Change_the_LineStackingStrategy_to_BlockLineHeight_for_Labels

Update snapshots

b11cd35
Select commit
Loading
Failed to load commit list.
Azure Pipelines / MAUI-DeviceTests-public succeeded Sep 18, 2025 in 19m 51s

Build #10.0.0-ci+pr.31289.azdo.150722 had test failures

Details

Tests

  • Failed: 1 (0.01%)
  • Passed: 18,687 (96.24%)
  • Other: 730 (3.76%)
  • Total: 19,418

Annotations

Check failure on line 14342 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / MAUI-DeviceTests-public

Build log #L14342

Bash exited with code '1'.

Check failure on line 1581 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / MAUI-DeviceTests-public

Build log #L1581

Bash exited with code '1'.

Check failure on line 1581 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / MAUI-DeviceTests-public

Build log #L1581

Bash exited with code '1'.

Check failure on line 1 in Unfocus will work when page is shown a 2nd time

See this annotation in the file changed.

@azure-pipelines azure-pipelines / MAUI-DeviceTests-public

Unfocus will work when page is shown a 2nd time

Assert.True() Failure\r\nExpected: True\r\nActual:   False
Raw output
   at Microsoft.Maui.DeviceTests.EntryTests.<>c__DisplayClass5_0.<UnFocusOnEntryAfterPagePop>b__4()
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
   at Microsoft.Maui.DeviceTests.EntryTests.<>c__DisplayClass5_0.<<UnFocusOnEntryAfterPagePop>b__2>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.Maui.DeviceTests.ControlsHandlerTestBase.<>c__DisplayClass17_1`1.<<CreateHandlerAndAddToWindow>b__1>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.Maui.DeviceTests.ControlsHandlerTestBase.<>c__DisplayClass31_0`1.<<SetupWindowForTests>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.Maui.DeviceTests.ControlsHandlerTestBase.<>c__DisplayClass31_0`1.<<SetupWindowForTests>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.Maui.Dispatching.DispatcherExtensions.<>c__DisplayClass3_0.<<DispatchAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.Maui.Dispatching.DispatcherExtensions.<>c__DisplayClass2_0`1.<<DispatchAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.Maui.DeviceTests.ControlsHandlerTestBase.<>c__DisplayClass17_0`1.<<CreateHandlerAndAddToWindow>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.Maui.Dispatching.DispatcherExtensions.<>c__DisplayClass3_0.<<DispatchAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.Maui.Dispatching.DispatcherExtensions.<>c__DisplayClass2_0`1.<<DispatchAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.Maui.DeviceTests.EntryTests.UnFocusOnEntryAfterPagePop()
--- End of stack trace from previous location ---