WPF - Browser not correctly refreshing on Resize >= 127.3.50
- Dominant language
- C#
- Stars
- 10.3k
- Forks
- 2.9k
- Avg merge
- 5d 22h
- Merged PRs (30d)
- 4
Description
### Is there an existing issue for this?
- [X] I have searched both open/closed issues, no issue already exists.
### 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_
Contributor guide
Research direction
Start by running the linked ChromiumResizeProblem sample with CefSharp 129.0.110 on WPF and compare its resize behavior with 126.2.180.0. Reproduce the issue by resizing a window containing several ChromiumWebBrowsers, then verify that each browser follows its Grid size without requiring mouse-wheel input.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100