Skip to content

when i enable "ChromeRuntime", the ChromiumWebBrowser layouts incorrect #4777

@ijustkeepmoving

Description

@ijustkeepmoving

Is there an existing issue for this?

  • I have searched both open/closed issues, no issue already exists.

CefSharp Version

120.2.50

Operating System

Windows 10

Architecture

x64

.Net Version

CefSharp.Wpf.NETCore

Implementation

WPF

Reproduction Steps

hi~~ i am a newer to Cefsharp~~~

when i enable "settings.ChromeRuntime = true;" the position and size of browser is not working, it layouts on the top and left of the window with a fixed size~~~

when i set settings.ChromeRuntime = false; everything goes well

i have test the MinmalExample ,the result is the same with description above

i dont know why?
微信图片_20240405095629

Expected behavior

the position and size render correct~~

Actual behavior

the position and size is not working

Regression?

No response

Known Workarounds

No response

Does this problem also occur in the CEF Sample Application

Yes using WPF/OffScreen command line args

Other information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions