New close order with CEF_RUNTIME_STYLE_CHROME
Posted: Tue Oct 22, 2024 9:24 am
Hello Salvador,
our application has been running quite well with CEF4D for years.
But we are not happy with the changes in the CEF 128.4.8 update.
So far our application ran with ChromeRuntime = false.
Now we read that the Runtime is now always switched on and that for full UI support and for intensive JavaScript use the RuntimeStyle = CEF_RUNTIME_STYLE_CHROME is recommended.
Since we use TinyMCE with JavaScript in Chromium, CEF_RUNTIME_STYLE_ALLOY doesn't seem useful to us.
But CEF_RUNTIME_STYLE_CHROME comes with a new close mechanism that needs to be implemented in the application.
With all due respect: The recommendation to artificially run OnCloseQuery twice to reverse the closing order of CEF objects reads like a makeshift hack.
For us, that would mean massive modifications to dozens of code locations - with a high risk of crashes.
Is it planned that the "normal" closing sequence is also maintained for RuntimeStyle CEF_RUNTIME_STYLE_CHROME at this point?
Best regards
Reinhard
our application has been running quite well with CEF4D for years.
But we are not happy with the changes in the CEF 128.4.8 update.
So far our application ran with ChromeRuntime = false.
Now we read that the Runtime is now always switched on and that for full UI support and for intensive JavaScript use the RuntimeStyle = CEF_RUNTIME_STYLE_CHROME is recommended.
Since we use TinyMCE with JavaScript in Chromium, CEF_RUNTIME_STYLE_ALLOY doesn't seem useful to us.
But CEF_RUNTIME_STYLE_CHROME comes with a new close mechanism that needs to be implemented in the application.
With all due respect: The recommendation to artificially run OnCloseQuery twice to reverse the closing order of CEF objects reads like a makeshift hack.
For us, that would mean massive modifications to dozens of code locations - with a high risk of crashes.
Is it planned that the "normal" closing sequence is also maintained for RuntimeStyle CEF_RUNTIME_STYLE_CHROME at this point?
Best regards
Reinhard