apimall / chromiumembedded

Automatically exported from code.google.com/p/chromiumembedded
0 stars 1 forks source link

CefRenderHandler popups OSR #1576

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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.

Original issue reported on code.google.com by bjarte.s...@gmail.com on 13 Mar 2015 at 12:47

GoogleCodeExporter commented 9 years ago
Please ask questions on the CEF Forum: http://magpcss.org/ceforum

Original comment by magreenb...@gmail.com on 13 Mar 2015 at 2:34