[Webkit-unassigned] [Bug 94384] screenToWindow and windowToScreen are not implemented in Qt5 WebKit2

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 24 11:31:51 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=94384





--- Comment #7 from Olivier CrĂȘte <olivier.crete at collabora.com>  2012-08-24 11:31:50 PST ---
(In reply to comment #6)
> (From update of attachment 159211 [details])
> (In reply to comment #5)
> > Do you have any suggestion on how to do it better? I'm especially confused on how the QWindow and QQuickItem coordinates match. Aren't scene coordinates just another name for window coordinates or are they different? In screenToWindow(), should I do m_webView->mapToScene(window->mapFromGlobal(point)) or am I completely lost?
> >
> I'm not sure I understand in what way you are trying to use these functions so I can not help you with that.

While writing a custom MediaPlayerPrivate, I'm trying to get the absolute screen coordinates of a HTML <video> element so I can get a hardware overlay to draw at the right spot. I should mention that windowToScreen() currently works with the patch for that one specific use-case.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list