-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Set --hide-crash-restore-bubble by default to prevent Chromium window from opening after unsuccessful shutdown. #4903
Comments
You'll need to raise an Please post a link back here. |
See #4835 for backaround |
Thank you @amaitland the issue seems to be with the runtime. When i switched back to alloy the issue seem to be resolved. |
@razor999920 Thanks 👍 Based on comment chromiumembedded/cef#3767 (comment) I think it might be worth setting Renaming and reopening this issue. |
Is there an existing issue for this?
CefSharp Version
126.2.70
Operating System
Windows 11
Architecture
x86
.Net Version
8
Implementation
WPF
Reproduction Steps
I have no been able to pin point the cause for this issue. It happens every 2/3 times of me opening my applicatio.
Expected behavior
There should be no chromium browser tab or any other window opening besides the application.
Actual behavior
When I open my WPF application, it opens a chromium browser tab
Regression?
When I downgrade the version the problem goes away but this happens when I upgrade to 126.7.2 or new versions.
Known Workarounds
Downgrading the version resolves the issue for now.
Does this problem also occur in the CEF Sample Application
Yes using WPF/OffScreen command line args
Other information
After going through all the issues, it seems only I have having this problem and I'm assuming I'm missing something during my CefSetting initialization.
Following is my code:
App Startup:
`
private void Application_Startup(object sender, StartupEventArgs e)
{
var settings = new CefSettings()
{
ChromeRuntime = true,
LogFile = "Debug.log",
LogSeverity = LogSeverity.Verbose,
CachePath = System.IO.Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), "CefSharp\Cache"),
};
`
MainWindow.xaml
`
MainWindow.xaml.cs
`
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
}
}
`
The text was updated successfully, but these errors were encountered: