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

[Problem/Bug]: After enabling IsPasswordAutosaveEnabled in WebView2, accessing phpMyAdmin causes a crash. #4868

Open
atfeel opened this issue Oct 19, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@atfeel
Copy link

atfeel commented Oct 19, 2024

What happened?

web.CoreWebView2.Settings.IsPasswordAutosaveEnabled = true;
web.CoreWebView2.Settings.IsGeneralAutofillEnabled = true;

phpMyAdmin 5.1.1

Logging into the account causes a crash.

Importance

Blocking. My app's basic functions are not working due to this issue.

Runtime Channel

Stable release (WebView2 Runtime)

Runtime Version

1.0.2739.15

SDK Version

No response

Framework

Winforms

Operating System

Windows 10

OS Version

No response

Repro steps

web.CoreWebView2.Settings.IsPasswordAutosaveEnabled = true;
web.CoreWebView2.Settings.IsGeneralAutofillEnabled = true;

phpMyAdmin 5.1.1

Logging into the account causes a crash.

Repros in Edge Browser

No, issue does not reproduce in the corresponding Edge version

Regression

No, this never worked

Last working version (if regression)

No response

@atfeel atfeel added the bug Something isn't working label Oct 19, 2024
Copy link

Hi, @atfeel!

It seems that your issue contains the word "crash". If you have not already, could you attach a crash dump as a comment?

WV2 crash dumps are located in a subfolder of the app's user data folder (UDF): <UDF>\EBWebView\Crashpad\reports\. By default, the user data folder is created in the app's folder with a name like <App Exe Name>.exe.WebView2. Refer to Crash Diagnostics for more information.

Thank you for your cooperation!

@atfeel
Copy link
Author

atfeel commented Oct 20, 2024

The path EBWebView\Crashpad\reports\ is empty.

I detected ExitCode = -2147483645 in the ProcessFailed event listener.

Confirmed that enabling IsPasswordAutosaveEnabled or IsGeneralAutofillEnabled and logging into a phpMyAdmin 5.1.1 account causes this crash to occur, while logging into accounts on other websites does not produce this issue.

@Danielx64
Copy link

What happens if you set those to false and then log into phpmyadmin? Just want to rule out that is causing it

@atfeel
Copy link
Author

atfeel commented Oct 21, 2024

What happens if you set those to false and then log into phpmyadmin? Just want to rule out that is causing it

Setting them to false prevents the crashes, but I need the automatic prompt to save usernames and passwords—I require this feature. The crash specifically happens when logging into a phpMyAdmin 5.1.1 account; I haven't tested other versions of phpMyAdmin. Additionally, some other websites also cause a crash when prompting to save login details. I hope the developers can fix this bug in WebView2.

@atfeel
Copy link
Author

atfeel commented Oct 23, 2024

Is there a WebView2 developer here? I hope to get help in fixing a bug.

@atfeel
Copy link
Author

atfeel commented Oct 25, 2024

!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants