You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If FileDialogHandler::OnFileDialog gets invoked, cefclient does not terminate.
To Reproduce
Steps to reproduce the behavior:
Download Sample Application (127.3.5+g114ea2a 127.0.6533.120) Windows x64.
Open cefclient using cefclient --url=http://egghunter.in/safepay/file.html --enable-chrome-runtime (--disable-chrome-runtime yields the same result).
Click on the Click Here... image. This will invoke a file open dialog (in the background will attempt to also open a new popup, but even without this the result is the same).
Close the file dialog (either dismiss or pick a file).
Close cefclient.
Expected behavior
cefclient should close normally.
Screenshots
Not needed
Versions (please complete the following information):
OS: Windows 10 x64
CEF Version: 127.3.5
Additional context
Does the problem reproduce with the cefclient or cefsimple sample application at the same version?
cefclient: Yes
cefsimple: No
Does the problem reproduce with Google Chrome at the same version?
No
The text was updated successfully, but these errors were encountered:
in the background will attempt to also open a new popup
Looks like cefclient's popup handling is the issue. The problem is avoided by running with --use-default-popup
It would be useful to test if calling preventDefault() and/or preventImmediatePropagation() in the onclick handler (to avoid the popup) also avoids the problem.
magreenblatt
changed the title
cefclient does not close if file open dialog invoked
cefclient aborted popup keeps application from terminating
Sep 30, 2024
Describe the bug
If FileDialogHandler::OnFileDialog gets invoked, cefclient does not terminate.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
cefclient should close normally.
Screenshots
Not needed
Versions (please complete the following information):
Additional context
Does the problem reproduce with the cefclient or cefsimple sample application at the same version?
cefclient: Yes
cefsimple: No
Does the problem reproduce with Google Chrome at the same version?
No
The text was updated successfully, but these errors were encountered: