-
Notifications
You must be signed in to change notification settings - Fork 533
Description
Original report by Kristjan Skutta (Bitbucket: Biohazard90, GitHub: Biohazard90).
Sorry for making this pointless issue, but I'm unable to register in your forums, because I'm not receiving the activation e-mail. My friend has the same issue, we're both using G-Mail addresses.
Could you look into this? We have tried this several times over the last couple of days.
I would like to post there about CEF seeming to close the parent window when creating a browser as a child window of something else. This didn't use to happen with an older version of CEF/Chromium and it's a destructive behavior that I need to disable. I'm not sure if it's a bug at this point or if I just have to change what I'm doing, that's why I'd prefer using the forums. I’m using CEF once as a child and once as a top level window, so I need both options to work.
I haven't tested this yet, but I think the cause is in browser_platform_delegate_native_win.cc Line 238. I'm using CEF release 4103.
Even though this may be a Chromium issue, I think this really breaks the 'CEF as a child window' feature and should not happen.
Thanks!
Edit: I changed the code to this PostMessage(window_info_.window, WM_CLOSE, 0, 0); and I don’t get an assertion anymore that the browser wasn’t closed (which is what I got by only removing this code) but the parent window which is managed by my application also doesn’t get closed anymore. I’d still like to ask about this on the forums though as soon as I’m able to register.