Bug 132866 - About ChromeClientQt::rootViewToScreen function
Summary: About ChromeClientQt::rootViewToScreen function
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Qt (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-13 06:49 PDT by thouraya
Modified: 2014-06-19 22:16 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description thouraya 2014-05-13 06:49:25 PDT
Hi,

In ChromeClientQt::rootViewToScreen(const IntRect& rect) function, 

the screenRect is calculated by translating rect by (ownerWindow->mapToGlobal(m_webPage->viewRectRelativeToWindow().topLeft())

I think it is wrong, and rect should be translated by ownerWindow->mapToGlobal(-m_webPage->viewRectRelativeToWindow().topLeft()));


Regards,
Thouraya.
Comment 1 Alexey Proskuryakov 2014-06-19 22:16:52 PDT
The Qt port has been removed from WebKit, so marking as INVALID.