CommunityToolkit/WindowsCommunityToolkit

Eyedropper crash the app

Open

#4.028 aberto em 14 de mai. de 2021

Ver no GitHub
 (8 comments) (0 reactions) (0 assignees)C# (1.403 forks)batch import
bug :bug:controls :control_knobs:help wantedneed more info :pushpin:

Métricas do repositório

Stars
 (5.708 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

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)

Guia do colaborador