OutSystems / WebView

Avalonia/WPF control that wraps CefGlue webview control
Apache License 2.0
310 stars 38 forks source link

[request] Disable OSR by default, OSR mode causes multiple issues #302

Open jetspiking opened 1 year ago

jetspiking commented 1 year ago

Hello,

Off-screen rendering causes several issues in my experience, such as:

It seems to me that it would be more logical to disable OSR by default, due to the occuring issues. I spend quite a bit of time before I realized the OSR setting was the issue.

joaompneves commented 1 year ago

Hi,

Although OSR=false is indeed the recommended setting, but making that the default would be a breaking change, for existing consumers. OSR=false also requires Avalonia to be setup in the following way: https://github.com/OutSystems/WebView/blob/df6b7e1f27e01298265c470164351abed4672a96/SampleWebView.Avalonia/Program.cs#L10