Export to GitHub

chromiumembedded - issue #1576

CefRenderHandler popups OSR


Posted on Mar 13, 2015 by Quick Kangaroo

What steps will reproduce the problem? 1. Positioning the window/browser view partly off the screen 2. Scroll so that a select box will grow below the bottom off the screen when opened 3. Open the select

What is the expected output? What do you see instead? Would expect that the popup position would take the view placement into account and position the popup on top of the select rather than below, like in native window rendering.

What version of the product are you using? On what operating system? I'm using 2171 via CefSharp(WPF) and I'm trying to figure out if this is an issue with cef or cefsharp, or chromium.

Please provide any additional information below.

Should OSR support this scenario?

Initially cefsharp only implemented GetViewRect in the CefRenderHandler. I'm now trying to implement the other screen related methods in CefRenderHandler to see if that fixes anything, but I can't help feeling that the documentation is kind of vague.

Could someone explain in detail what the different methods GetRootScreenRect, GetScreenInfo and GetViewRect are supposed to do and if OSR is taking anything of this into account when positioning the popup.

Comment #1

Posted on Mar 13, 2015 by Quick Horse

Please ask questions on the CEF Forum: http://magpcss.org/ceforum

Status: Invalid

Labels:
Type-Defect Priority-Medium