Content displayed outside of dockbar on load


When a dockbar containing an embedded browser (using cefsharp/winforms) loads, the window is displayed outside the dockbar until I click on it, at which point it snaps into place.

Is this a known bug? I can’t find any documentation or issue tracking. Basically running sample code at this point. - rhino-developer-samples/rhinocommon/cs/SampleCsDockBar at 7 · mcneel/rhino-developer-samples · GitHub


likely a DPI Awareness issue - High DPI Desktop Application Development on Windows - Win32 apps | Microsoft Learn.