cefsharp / cefsharp/CefSharp

WPF - Browser not correctly refreshing on Resize >= 127.3.50

オープン
#4,953 コメント 25 件 リアクション 2 件 担当者 0 名 GitHub で見る
upstream wpf
主要言語
C#
スター
10.3k
フォーク
2.9k
平均マージ
5日 22時間
マージ済み PR(30日)
4

説明

### 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_

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず、リンクされた ChromiumResizeProblem サンプルを CefSharp 129.0.110 と WPF で実行し、そのサイズ変更の動作を 126.2.180.0 と比較します。複数の ChromiumWebBrowsers を含むウィンドウのサイズを変更して問題を再現し、その後、マウスホイール入力を必要とせずに各ブラウザーが自身の Grid のサイズに追従することを確認します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
csharp
領域
desktop
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
明確に書かれている
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。