CommunityToolkit/WindowsCommunityToolkit

Eyedropper crash the app

Open

#4,028 建立於 2021年5月14日

在 GitHub 查看
 (8 留言) (0 反應) (0 負責人)C# (1,403 fork)batch import
bug :bug:controls :control_knobs:help wantedneed more info :pushpin:

倉庫指標

Star
 (5,708 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

Describe the bug

Eyedropper make the app crash.

Steps to Reproduce

It's not possible to reproduce the crash at least on my devices and environments but at lot of users encountered it.

Crash log:

System.Exception: Exception from HRESULT: 0x802B0020

ComCallHelpers.Call (__ComObject, RuntimeTypeHandle, Int32, Color, Void*)
__Interop.ForwardComStubs.Stub_65[TThis, TResult](__ComObject, Color, Int32) + 0x45
Microsoft.Toolkit.Uwp.UI.Controls Eyedropper.UpdatePreview (Int32, Int32)
Microsoft.Toolkit.Uwp.UI.Controls Eyedropper.UpdateEyedropper (Point)
Microsoft.Toolkit.Uwp.UI.Controls Eyedropper.TargetGrid_PointerMoved (Object, PointerRoutedEventArgs)
System.Xml.XmlTextReaderImpl OnDefaultAttributeUseDelegate.Invoke (IDtdDefaultAttributeInfo, XmlTextReaderImpl)
__Interop Intrinsics.HasThisCall__24[TArg0] (Object, IntPtr, Object, TArg0)

Environment

NuGet Package(s): 
6.1.1

Windows 10 Build Number:
- May 2020 Update (19041)

App min and target version:
- May 2019 Update (18362)

Device form factor:
- Desktop

Visual Studio 
- 2019 (latest)

貢獻者指南