CommunityToolkit/WindowsCommunityToolkit

Eyedropper crash the app

Open

#4.028 geöffnet am 14. Mai 2021

Auf GitHub ansehen
 (8 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)C# (1.403 Forks)batch import
bug :bug:controls :control_knobs:help wantedneed more info :pushpin:

Repository-Metriken

Stars
 (5.708 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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)

Contributor Guide