Page 1 of 1
OSR halt when resizing frequently
Posted: Mon Mar 18, 2019 1:29 am
by tad.chen
When I test the simpleOSRBrowser program in DEMO by resizing the window frequently and quickly, the UI halts and has no response.
But If I do the same test in simpleBrowser, it will not halt.
Only OSR has this problem.
Re: OSR halt when resizing frequently
Posted: Mon Mar 18, 2019 7:17 am
by salvadordf
That's a known issue :
https://github.com/salvadordf/CEF4Delphi/issues/133
It appeared some months ago with a CEF3 update. There has been some issues and fixes in CEF3 since then that might be related to this but we are still affected by this problem.
There's another CEF3 issue that could be related :
https://bitbucket.org/chromiumembedded/ ... causes-the
I should try to find a workaround or even better, scrap the TBufferPanel and create an OSR demo using OpenGL or DirectX.
...but I'm very busy right now

Re: OSR halt when resizing frequently
Posted: Tue Mar 19, 2019 12:28 am
by tad.chen
Thank you for your information.
This issue's status is changed to resolved in cef project which you sent to me.
I solved the problem in my app by preventing resizing too rapidly. If too many resizing occur, discard some.
Re: OSR halt when resizing frequently
Posted: Wed Mar 20, 2019 4:24 pm
by salvadordf
Please, download the latest CEF4Delphi version from GitHub :
https://github.com/salvadordf/CEF4Delphi
That bug is now fixed in the CEF binaries!

Re: OSR halt when resizing frequently
Posted: Thu Mar 21, 2019 8:20 am
by tad.chen
Thank you! It works now.
