microsoft / microsoft/microsoft-ui-xaml
new winui3 black app can not drag file from explorer to webview2 ,please fix this bug.
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 8.4k
- Forks
- 942
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 105
Description
### Describe the bug
we use vs2022 create an black winui3 app with webview2. app can't drag file from explorder to webview2
### Steps to reproduce the bug
1.create new winui3 app
2.run new winui3 app.
3.drap an txt file from desktop to wenview2 .show a red disabled icon.https://github.com/user-attachments/assets/c892ac4b-dd69-432e-a24d-ab39ddfe25d8
### Expected behavior
_No response_
### Screenshots
_No response_
### NuGet package version
WinUI 3 - Windows App SDK 1.6.1: 1.6.240923002
### Windows version
Windows 11 (22H2): Build 22621
### Additional context
_No response_
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue in a new WinUI 3 app with WebView2 using Windows App SDK 1.6.1 on Windows 11 build 22621. Investigate the drag-and-drop handling between Explorer and WebView2; done means dragging a text file into the WebView2 control is accepted instead of showing the disabled cursor.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100