MicrosoftEdge / MicrosoftEdge/WebView2Feedback
WebView2 and launching file dialog (WPF/C#)
@victorhuangwq is already working on this.
Since Dec 1, 2023.
- Dominant language
- PowerShell
- Stars
- 526
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
We are using the latest stable version of WebView2 controls in a WPF/ C# application. We have a few web pages that are designed to upload files to our backend. The displayed webpages call a simple script, similar to what this webpage (https://output.jsbin.com/kimoqaw) does.
The link above is the perfect sample. It works in Edge on win 10 and win 11 (both buttons launch a file picker)
Using that link in the webview2 control - it works in Win11 and doesn't in Win 10?
This mimics what we are seeing in our application. These pages also support drag and drop, which does work on both. The only difference we can determine is Windows 10 vs 11 and it is consistent. Never works on Win 10, and always works on Win 11?
Is there something we need to do differently if we detect the machine is a windows 10 machine? Is there a setting or some kind of value we need to set when initializing the CoreWebView2 to allow these calls to work in both environments?
Contributor guide
No contributing guide indexed for this repository
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.
Assessment
This issue has not been assessed yet.