Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using drag & drop spams native errors at a very high rate #8851

Open
kmgallahan opened this issue Sep 8, 2023 · 1 comment
Open

Using drag & drop spams native errors at a very high rate #8851

kmgallahan opened this issue Sep 8, 2023 · 1 comment
Labels
area-Lists ListView, GridView, ListBox, etc bug Something isn't working team-Controls Issue for the Controls team

Comments

@kmgallahan
Copy link
Contributor

kmgallahan commented Sep 8, 2023

Describe the bug

As per the title, using drag & drop causes this error to get spammed 10+ times per second:

onecoreuap\shell\dataexchange\winrt\lib\droptargetinternal.cpp(306)\DataExchange.dll!63A1634D: (caller: 75B20E08) ReturnHr(170) tid(575c) 80070490 Element not found.

With callstack:

DataExchange.dll!DropTargetInternal::DragUIOverride::AttachContent(unsigned __int64,struct tagSIZE *,struct tagPOINT *,struct IInspectable * *)	Unknown
rpcrt4.dll!_Invoke@12()	Unknown
rpcrt4.dll!NdrStubCall2Heap(void *,void *,struct _RPC_MESSAGE *,unsigned long *)	Unknown
rpcrt4.dll!_NdrStubCall2@16()	Unknown
combase.dll!763a1482()	Unknown
[Frames below may be incorrect and/or missing, no symbols loaded for combase.dll]	
rpcrt4.dll!CStdStubBuffer_Invoke()	Unknown
combase.dll!763a1252()	Unknown
combase.dll!763a0d26()	Unknown
rpcrt4.dll!NdrCStdStubBuffer_Release()	Unknown
rpcrt4.dll!CStdStubBuffer_AddRef()	Unknown

Steps to reproduce the bug

Debug this project: https://github.com/kmgallahan/GridViewDragDropTest

or

  1. Create a WinUI 3 project
  2. Turn on native debugging and update packages
  3. Add a GridView with source and enable drag & drop for it
  4. Debug
  5. Use drag & drop and observe output

Expected behavior

A peaceful Output window

Screenshots

No response

NuGet package version

WinUI 3 - Windows App SDK 1.4.0: 1.4.230822000

Windows version

Windows 10 (21H2): Build 19044

Additional context

This happens with all drag & drop operations, not just the GridView.

@kmgallahan kmgallahan added the bug Something isn't working label Sep 8, 2023
@StevoSM
Copy link

StevoSM commented Sep 21, 2023

I am also seeing this issue using a Grid element. Note that Drag and Drop work fine with other elements.

@bpulliam bpulliam added area-Lists ListView, GridView, ListBox, etc team-Controls Issue for the Controls team labels Oct 18, 2023
@kmgallahan kmgallahan changed the title Using GridView drag & drop spams native errors at a very high rate Using drag & drop spams native errors at a very high rate Feb 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-Lists ListView, GridView, ListBox, etc bug Something isn't working team-Controls Issue for the Controls team
Projects
None yet
Development

No branches or pull requests

3 participants