[release/11.0.1xx-preview7] Reset WinUI Label line height to default - #37062
[release/11.0.1xx-preview7] Reset WinUI Label line height to default#37062kubaflo wants to merge 12 commits into
Build #11.0.0-ci+pr.37062.azdo.1539078 had test failures
Details
- Failed: 6 (0.06%)
- Passed: 8,919 (95.77%)
- Other: 388 (4.17%)
- Total: 9,313
Annotations
Check failure on line 47 in Build log
azure-pipelines / maui-pr-devicetests
Build log #L47
PowerShell exited with code '1'.
Check failure on line 47 in Build log
azure-pipelines / maui-pr-devicetests
Build log #L47
PowerShell exited with code '1'.
Check failure on line 1 in Entry with longer text and short text updates correctly
azure-pipelines / maui-pr-devicetests
Entry with longer text and short text updates correctly
Java.Lang.IndexOutOfBoundsException : setSpan (5001 ... 5001) ends beyond length 5000
Raw output
at Android.Widget.EditText.SetSelection(Int32)
at Microsoft.Maui.Platform.EditTextExtensions.SetInputType(EditText, ITextInput)
at Microsoft.Maui.Platform.EditTextExtensions.UpdateIsPassword(EditText, IEntry)
at Microsoft.Maui.Handlers.EntryHandler.MapIsPassword(IEntryHandler handler, IEntry entry)
at Microsoft.Maui.PropertyMapper.UpdateProperties(IElementHandler, IElement )
at Microsoft.Maui.Handlers.ElementHandler.SetVirtualView(IElement)
at Microsoft.Maui.Handlers.EntryHandler.SetVirtualView(IView)
at Microsoft.Maui.Controls.Element.SetHandler(IElementHandler newHandler)
at Microsoft.Maui.DeviceTests.HandlerTestBasement.CreateHandler[THandler,TCustomHandler](IElement element, IMauiContext mauiContext)
at Microsoft.Maui.Dispatching.DispatcherExtensions.<>c__DisplayClass0_0`1.<DispatchAsync>b__0()
--- End of stack trace from previous location ---
at Microsoft.Maui.DeviceTests.ControlsHandlerTestBase.CreateHandlerAsync[THandler](IElement view)
at Microsoft.Maui.DeviceTests.EntryTests.EntryWithLongTextAndShortText_UpdatesTextCorrectly()
--- End of stack trace from previous location ---
--- End of managed Java.Lang.IndexOutOfBoundsException stack trace ---
java.lang.IndexOutOfBoundsException: setSpan (5001 ... 5001) ends beyond length 5000
at android.text.SpannableStringBuilder.checkRange(SpannableStringBuilder.java:1326)
at android.text.SpannableStringBuilder.setSpan(SpannableStringBuilder.java:685)
at android.text.SpannableStringBuilder.setSpan(SpannableStringBuilder.java:677)
at androidx.emoji2.text.SpannableBuilder.setSpan(SpannableBuilder.java:136)
at android.text.Selection.setSelection(Selection.java:94)
at android.text.Selection.setSelection(Selection.java:78)
at android.text.Selection.setSelection(Selection.java:153)
at android.widget.EditText.setSelection(EditText.java:136)
at mono.java.lang.RunnableImplementor.n_run(Native Method)
at mono.java.lang.RunnableImplementor.run(RunnableImplementor.java:29)
at android.os.Handler.handleCallback(Handler.java:942)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7924)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
Check failure on line 1 in Android crash when Entry has more than 5000 characters
azure-pipelines / maui-pr-devicetests
Android crash when Entry has more than 5000 characters
Java.Lang.IndexOutOfBoundsException : setSpan (5001 ... 5001) ends beyond length 5000
Raw output
at Android.Widget.EditText.SetSelection(Int32)
at Microsoft.Maui.Platform.EditTextExtensions.SetInputType(EditText, ITextInput)
at Microsoft.Maui.Platform.EditTextExtensions.UpdateIsPassword(EditText, IEntry)
at Microsoft.Maui.Handlers.EntryHandler.MapIsPassword(IEntryHandler handler, IEntry entry)
at Microsoft.Maui.PropertyMapper.UpdateProperties(IElementHandler, IElement )
at Microsoft.Maui.Handlers.ElementHandler.SetVirtualView(IElement)
at Microsoft.Maui.Handlers.EntryHandler.SetVirtualView(IView)
at Microsoft.Maui.Controls.Element.SetHandler(IElementHandler newHandler)
at Microsoft.Maui.DeviceTests.HandlerTestBasement.CreateHandler[THandler,TCustomHandler](IElement element, IMauiContext mauiContext)
at Microsoft.Maui.Dispatching.DispatcherExtensions.<>c__DisplayClass0_0`1.<DispatchAsync>b__0()
--- End of stack trace from previous location ---
at Microsoft.Maui.DeviceTests.ControlsHandlerTestBase.CreateHandlerAsync[THandler](IElement view)
at Microsoft.Maui.DeviceTests.EntryTests.EntryWithLongTextDoesNotCrash()
--- End of stack trace from previous location ---
--- End of managed Java.Lang.IndexOutOfBoundsException stack trace ---
java.lang.IndexOutOfBoundsException: setSpan (5001 ... 5001) ends beyond length 5000
at android.text.SpannableStringBuilder.checkRange(SpannableStringBuilder.java:1326)
at android.text.SpannableStringBuilder.setSpan(SpannableStringBuilder.java:685)
at android.text.SpannableStringBuilder.setSpan(SpannableStringBuilder.java:677)
at androidx.emoji2.text.SpannableBuilder.setSpan(SpannableBuilder.java:136)
at android.text.Selection.setSelection(Selection.java:94)
at android.text.Selection.setSelection(Selection.java:78)
at android.text.Selection.setSelection(Selection.java:153)
at android.widget.EditText.setSelection(EditText.java:136)
at mono.java.lang.RunnableImplementor.n_run(Native Method)
at mono.java.lang.RunnableImplementor.run(RunnableImplementor.java:29)
at android.os.Handler.handleCallback(Handler.java:942)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7924)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
Check failure on line 1 in com.microsoft.maui.controls.devicetests-Signed.WorkItemExecution
azure-pipelines / maui-pr-devicetests
com.microsoft.maui.controls.devicetests-Signed.WorkItemExecution
The Helix Work Item failed. Often this is due to a test crash. Please see the 'Artifacts' tab above for additional logs.
Check failure on line 1 in Entry with longer text and short text updates correctly
azure-pipelines / maui-pr-devicetests
Entry with longer text and short text updates correctly
Java.Lang.IndexOutOfBoundsException : setSpan (5001 ... 5001) ends beyond length 5000
Raw output
at Java.Interop.JniEnvironment.InstanceMethods.CallNonvirtualVoidMethod(JniObjectReference, JniObjectReference, JniMethodInfo , JniArgumentValue*)
at Java.Interop.JniPeerMembers.JniInstanceMethods.InvokeVirtualVoidMethod(String, IJavaPeerable, JniArgumentValue* )
at Android.Widget.EditText.SetSelection(Int32)
at Microsoft.Maui.Platform.EditTextExtensions.SetInputType(EditText, ITextInput)
at Microsoft.Maui.Platform.EditTextExtensions.UpdateIsPassword(EditText, IEntry)
at Microsoft.Maui.Handlers.EntryHandler.MapIsPassword(IEntryHandler handler, IEntry entry)
at Microsoft.Maui.PropertyMapper`2.<>c__DisplayClass5_0[[Microsoft.Maui.IEntry, Microsoft.Maui, Version=11.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Handlers.IEntryHandler, Microsoft.Maui, Version=11.0.0.0, Culture=neutral, PublicKeyToken=null]].<Add>b__0(IElementHandler h, IElement v)
at Microsoft.Maui.PropertyMapper.UpdateProperties(IElementHandler, IElement )
at Microsoft.Maui.Handlers.ElementHandler.SetVirtualView(IElement)
at Microsoft.Maui.Handlers.ViewHandler`2[[Microsoft.Maui.IEntry, Microsoft.Maui, Version=11.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Platform.MauiAppCompatEditText, Microsoft.Maui, Version=11.0.0.0, Culture=neutral, PublicKeyToken=null]].SetVirtualView(IView)
at Microsoft.Maui.Handlers.EntryHandler.SetVirtualView(IView)
at Microsoft.Maui.Handlers.ViewHandler`2[[Microsoft.Maui.IEntry, Microsoft.Maui, Version=11.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Platform.MauiAppCompatEditText, Microsoft.Maui, Version=11.0.0.0, Culture=neutral, PublicKeyToken=null]].SetVirtualView(IElement)
at Microsoft.Maui.Controls.Element.SetHandler(IElementHandler newHandler)
at Microsoft.Maui.Controls.Element.set_Handler(IElementHandler value)
at Microsoft.Maui.Controls.VisualElement.Microsoft.Maui.IElement.set_Handler(IElementHandler)
at Microsoft.Maui.DeviceTests.HandlerTestBasement.InitializeViewHandler(IElement element, IElementHandler handler, IMauiContext mauiContext)
at Microsoft.Maui.DeviceTests.HandlerTestBasement.CreateHandler[EntryHandler,EntryHandler](IElement element, IMauiContext mauiContext)
at Microsoft.Maui.DeviceTests.HandlerTestBasement.CreateHandler[EntryHandler](IElement view, IMauiContext mauiContext)
at Microsoft.Maui.DeviceTests.ControlsHandlerTestBase.CreateHandler[EntryHandler](IElement view)
at Microsoft.Maui.DeviceTests.ControlsHandlerTestBase.<>c__DisplayClass18_0`1[[Microsoft.Maui.Handlers.EntryHandler, Microsoft.Maui, Version=11.0.0.0, Culture=neutral, PublicKeyToken=null]].<CreateHandlerAsync>b__0()
at Microsoft.Maui.Dispatching.DispatcherExtensions.<>c__DisplayClass0_0`1[[Microsoft.Maui.Handlers.EntryHandler, Microsoft.Maui, Version=11.0.0.0, Culture=neutral, PublicKeyToken=null]].<DispatchAsync>b__0()
--- End of stack trace from previous location ---
at Microsoft.Maui.DeviceTests.ControlsHandlerTestBase.<CreateHandlerAsync>d__18`1[[Microsoft.Maui.Handlers.EntryHandler, Microsoft.Maui, Version=11.0.0.0, Culture=neutral, PublicKeyToken=null]].MoveNext()
at Microsoft.Maui.DeviceTests.EntryTests.EntryWithLongTextAndShortText_UpdatesTextCorrectly()
--- End of stack trace from previous location ---
--- End of managed Java.Lang.IndexOutOfBoundsException stack trace ---
java.lang.IndexOutOfBoundsException: setSpan (5001 ... 5001) ends beyond length 5000
at android.text.SpannableStringBuilder.checkRange(SpannableStringBuilder.java:1326)
at android.text.SpannableStringBuilder.setSpan(SpannableStringBuilder.java:685)
at android.text.SpannableStringBuilder.setSpan(SpannableStringBuilder.java:677)
at androidx.emoji2.text.SpannableBuilder.setSpan(SpannableBuilder.java:136)
at android.text.Selection.setSelection(Selection.java:94)
at android.text.Selection.setSelection(Selection.java:78)
at android.text.Selection.setSelection(Selection.java:153)
at android.widget.EditText.setSelection(EditText.java:136)
at mono.java.lang.RunnableImplementor.n_run(Native Method)
at mono.java.lang.RunnableImplementor.run(RunnableImplementor.java:21)
at android.os.Handler.handleCallback(Handler.java:942)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7924)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)