-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WPF - Browser not correctly refreshing on Resize >= 127.3.50 #4953
Comments
I also see wpf ChromiumWebBrowser resizing issues in my demo app for Baksteen.Blazor.CefSharp, .net 8.0. When enlarging the window the webview seems to automatically resize up to a certain size, but then it stops, and it will only suddenly resize when I start hovering the mouse over elements in the webview. Screenrecording: |
There's been some major upstream changes recently. See #4795 for more details. There's a pretty high change this is an Make sure you have an
Using version c#
Is a grid actually relevant? Or is it just multiple browsers displayed at the same time? |
Based on this I don't think multiple browsers has anything to do with the issue. |
It would be helpful if someone can run a |
@amaitland resize issue started in d3953b8 |
FWIW, it seems that after this commit the call to Update: strangely enough, I cannot reproduce the resize problem in CefSharp.WinForms.Example.netcore 😕 |
Thanks for confirming. Have to see what changes were made upstream. Did some testing, I can reproduce part of the problem with It'll still be worth debugging |
Is there an existing issue for this?
CefSharp Version
129.0.110
Operating System
Windows 11
Architecture
x64
.Net Version
.NET Framework 4.8
Implementation
WPF
Reproduction Steps
Create a WPF Window with a Grid, add several ChromiumWebBrowsers into each grid.
Load some simple HTML content into each browser.
Start App and resize the window
-> WebBrowser is not resized according to the window / grid size changes
-> When using the mouse scroll wheel, the browser size is updated correctly.
This behaviour is observed first in 127.3.50. In 126.2.180.0, everything was ok
The following project contains some sample code, as well as a video:
See: https://github.com/oetjen/ChromiumResizeProblem
Expected behavior
As in 126.2.180.0 -> Browser windows should resize
Actual behavior
Browser windows do not resize
Regression?
Worked in 126.2.180.0
Known Workarounds
none
Does this problem also occur in the CEF Sample Application
No
Other information
No response
The text was updated successfully, but these errors were encountered: