You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Fix issues with app hanging during window resize when calling WindowUtils.OnSize. Expose new Browser.SetBounds method. #464
I noticed app sometimes hanging during window resize in the wxpython.py example. It occurs during the EVT_SIZE event when calling WindowUtils.OnSize. That function does not handle things properly and it should only be called when handling WM_SIZE message, as it makes calls to DefWindowProc.
The solution will be to expose Browser.SetBounds on Windows which will be a wrapper for SetWindowPos WIN32 API.
All examples should be updated to use the new Browser.SetBounds method.
In v49 release for WinXP/Vista there is WindowUtils.UpdateBrowserSize, so it needs to be added to Migration Guide doc that it is require to call Browser.SetBounds now..
Related issue: #345 ("Crash when resizing browser using WindowUtils.OnSize with multi-threaded message loop set to True").
changed the title [-]Fix issues with app hanging during window resize when calling WindowUtils.OnSize[/-][+]Fix issues with app hanging during window resize when calling WindowUtils.OnSize. Expose new Browser.SetBounds method.[/+]on Jan 23, 2020
Fixes in commit de6bcd5 in the dev branch. Expose Browser.SetBounds method, update examples and documentation. There are still sometimes hangs (although rare) when resizing window in wxpython.py and qt.py examples. Needs retesting after updating to latest CEF version.
Activity
Fix maximize/restore events in tkinter_.py example (#464)
cztomczak commentedon Aug 29, 2018
A temporary fix for the tkinter.py example in commit 38bcf0c. Using ctypes module to call
SetWindowPos.[-]Fix issues with app hanging during window resize when calling WindowUtils.OnSize[/-][+]Fix issues with app hanging during window resize when calling WindowUtils.OnSize. Expose new Browser.SetBounds method.[/+]Fix window resize issues (#464). Expose Browser.SetBounds method,
cztomczak commentedon Jan 28, 2020
Fixes in commit de6bcd5 in the
devbranch. ExposeBrowser.SetBoundsmethod, update examples and documentation. There are still sometimes hangs (although rare) when resizing window in wxpython.py and qt.py examples. Needs retesting after updating to latest CEF version.Fix window resize issues (cztomczak#464). Expose Browser.SetBounds me…