Skip to content

Browser contents offset depending on where on the monitor the website is loaded #3335

@derekantrican

Description

@derekantrican
  • What version are you using? (exact version please e.g. 75.1.143, not Latest version as that's relative)

CefSharp.WinForms v73.1.130

  • Are you using WPF/WinForms/OffScreen?

WinForms

  • Are you targeting .Net Core? If yes which version?

No


I have a bit of an odd issue, just wondering if anyone's seen something like this before. It seems that on one monitor on my computer (just one - not both) the browser contents will be offset depending on where the application is located (or - maybe more applicable - where the CefSharp control is located) on the monitor. The mouse location still seems to trigger the same controls as if the contents were not offset.

Here's a screen recording: https://youtu.be/oo1UTtblhUs
A couple quick notes on my application:

  • The ChromiumWebBrowser control is set to Dock.Fill inside the "Player" tab
  • For now I've just overridden the "Add Source" button to call ChromiumWebBrowser.Load("https://www.youtube.com/embed/Y_4i2Oc2zAs"); for testing this issue

It seems to depend on where the browser is "shown". If I click the "Player" tab to show the browser control on the right monitor, then move it to the left monitor, then click the button the content offset can also be seen on the left monitor.

I'm aware I'm on an old version of CefSharp - just wondering if this is some sort of known issue or if things are just super weird on my computer

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions