Skip to content

WPF/OffScreen resizing issue - Surface invariants violation #2547

@karthik-sf

Description

@karthik-sf

Description:
while we doing resize the WPF application which uses cefsharp. it becomes hang and looks sluggish.

Steps to reproduce:
just resize front and back randomly 4 to 5 times continously.

Debug logs:
[1022/190426.141:ERROR:render_widget_host_impl.cc(2716)] Surface invariants violation: [OOPIF? 0] RenderWidgetSurfaceProperties(size(this: 566x669, other: 764x669))

[1022/190426.157:ERROR:render_widget_host_impl.cc(2716)] Surface invariants violation: [OOPIF? 0] RenderWidgetSurfaceProperties(size(this: 566x669, other: 764x669))

[1022/190426.174:ERROR:render_widget_host_impl.cc(2716)] Surface invariants violation: [OOPIF? 0] RenderWidgetSurfaceProperties(size(this: 566x669, other: 764x669))

any suggestions???thanks in advance:)

--

  • What version of the product are you using?

    • What version are you using? Nuget? CI Nuget? build from a branch? If so which branch? Please include the exact version number you are using (no ambiguous statements like Latest from Nuget)
      e.g. 57.0.0 or 63.0.0-pre01
    • Please only create an issue if you can reproduce the problem with the latest version. (If you are using the latest stable release please check to see if there is a newer -pre release and test with that also).
  • What architecture x86 or x64?

  • On what operating system?

    • Win7, Win 8, Win10, etc?
  • Are you using WinForms, WPF or OffScreen?

  • What steps will reproduce the problem?

    • Please provide detailed information here, enough for someone else to reprodce your problem.
    • Please no binary (zip, etc) links, fork the MinimalExample and push your changes to GitHub. (Alternatively use a code sharing service list Gist or Pastebin).
  • What is the expected output? What do you see instead?

  • Please provide any additional information below.

    • A stack trace if available, any Exception information.

    • Does the cef log provide any relevant information? (By default there should be a debug.log file in your bin directory)

    • Any other background information that's relevant? Are you doing something out of the ordinary? 3rd party controls?

  • Does this problem also occur in the CEF Sample Application from http://opensource.spotify.com/cefbuilds/index.html?

    • To compare with WPF run cefclient --multi-threaded-message-loop --off-screen-rendering-enabled
    • To compare with WinForms run cefclient --multi-threaded-message-loop
    • If you can reproduce the problem with cefclient then you'll need to report the bug on https://bitbucket.org/chromiumembedded/cef/overview there is no point opening an issue here. (Make sure you search before opening an issue)
    • Please include the version you tested with e.g. cef_binary_3.3029.1611.g44e39a8_windows64_client.tar.bz2

Metadata

Metadata

Assignees

No one assigned

    Labels

    offscreenupstreamThese issues require fixing in the Chromium Embedded Framework(CEF) or Chromium.wpfWPF Implementation

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions