WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
78458
[Qt] QWebPagePrivate::leaveEvent(QEvent*) implement error
https://bugs.webkit.org/show_bug.cgi?id=78458
Summary
[Qt] QWebPagePrivate::leaveEvent(QEvent*) implement error
carwin
Reported
2012-02-12 22:21:40 PST
Original source: //source QMouseEvent fakeEvent(QEvent::MouseMove, QCursor::pos(), Qt::NoButton, Qt::NoButton, Qt::NoModifier); QCursor::pos() is in the screen coordinate system. We'd better change to: //source QMouseEvent fakeEvent(QEvent::MouseMove, this->view.value->mapFromGlobal(QCursor::pos()), Qt::NoButton, Qt::NoButton, Qt::NoModifier); This is not the best modify method. Some times leaveEvent happen, but mouse's pos is still in webpage, such as lost focus. So I suggest modify to make sure mouse move outside of the widget: //source QMouseEvent fakeEvent(QEvent::MouseMove, QPoint(-1,-1), Qt::NoButton, Qt::NoButton, Qt::NoModifier);
Attachments
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug