Behavior of CefRenderHandler::OnPopupSize().

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Behavior of CefRenderHandler::OnPopupSize().

Postby vmas » Sat Mar 14, 2020 3:07 pm

CefRenderHandler::OnPopupSize() provides a rectangle. It looks like this rectangle is relative to the screen coordinates. Inside the CEF this rectangle is used in CefRenderWidgetHostViewOSR::SendMouseEvent() to determine that this rectangle contains the mouse position (that relative to the view coodinates). Relative to what should be the coordinates of this rectangle?
Maintainer of the CefNet project.
vmas
Techie
 
Posts: 13
Joined: Mon Feb 24, 2020 4:03 am

Re: Behavior of CefRenderHandler::OnPopupSize().

Postby magreenblatt » Sat Mar 14, 2020 3:56 pm

The documentation on OnPopupSize says view coordinates.
magreenblatt
Site Admin
 
Posts: 12383
Joined: Fri May 29, 2009 6:57 pm

Re: Behavior of CefRenderHandler::OnPopupSize().

Postby vmas » Sat Mar 14, 2020 5:23 pm

Thanks you :). Sorry, I didn’t pay attention that I read the outdated documentation: https://magpcss.org/ceforum/apidocs/projects/(default)/CefRenderHandler.html
Maintainer of the CefNet project.
vmas
Techie
 
Posts: 13
Joined: Mon Feb 24, 2020 4:03 am

Re: Behavior of CefRenderHandler::OnPopupSize().

Postby Czarek » Sun Mar 15, 2020 4:47 am

You've clicked CEF 1 docs, however CEF 3 API docs are also outdated with version 75.1.4.
Maintainer of the CEF Python, PHP Desktop and CEF C API projects. My LinkedIn.
User avatar
Czarek
Virtuoso
 
Posts: 1927
Joined: Sun Nov 06, 2011 2:12 am


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 50 guests