Open stephanema1 opened 1 year ago
A similar issue reproduces with:
cefclient.exe --use-default-popup
cefclient.exe --use-default-popup
works fine for me in M116 and newer (both Alloy and Chrome).
OOPS, missed the bit about "Close the main window"
Works fine with Chrome, still an issue for Alloy.
This is currently crashing at M128 in RootWindowViews::GetDelegateForPopup due to an invalid cast. |client| is a DefaultClientHandler
instead of a ClientHandlerStd
This still reproduces at M128 (tested on Windows 11):
cefclient.exe --use-alloy-style --use-native --use-default-popup
Using --use-alloy-style --use-views --use-default-popup
the popup window contents are black after step 2.
None of this reproduces after removing --use-alloy-style
.
Describe the bug This bug is already described in https://github.com/cefsharp/CefSharp/discussions/4488 .
To Reproduce Steps to reproduce the behavior:
cefclient.exe --multi-threaded-message-loop --no-sandbox --enable-gpu --use-default-popup
<a href="test.pdf" target="_blank">test.pdf</a>
test.pdf
link, the pdf is shown in a second window.Expected behavior When I execute the step 5. from above I expect that all windows are closed and that the process terminates.
Screenshots
Versions (please complete the following information):
Additional context Does the problem reproduce with the cefclient or cefsimple sample application at the same version? Yes
Does the problem reproduce with Google Chrome at the same version? No
Add any other context about the problem here.