Bug 45392
Summary: | [Qt] QWebView::event gives seg fault while handling ContextMenu event | ||
---|---|---|---|
Product: | WebKit | Reporter: | Priyaranjan <priyaranjan.2.singh> |
Component: | WebKit Misc. | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED WORKSFORME | ||
Severity: | Normal | CC: | benjamin, cmarcelo, kling |
Priority: | P5 | Keywords: | Qt, QtTriaged |
Version: | 528+ (Nightly build) | ||
Hardware: | All | ||
OS: | Linux |
Priyaranjan
Doing like this is giving crash/segmentation fault:
---------------------------------
QPoint qpoint (1,2);
QContextMenuEvent contextMenuEvent(QContextMenuEvent::Mouse, QPoint(1, 2));
QCoreApplication::sendEvent(controller->webWidget(), &contextMenuEvent);
------------------------------------
default handler i.e. QWebView::event is used for handling the event.
Seg Fault is happening with this call: QWebView::event(event)
Also reproduced on Symbian 10.1 platform.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Benjamin Poulain
Please follow this to report bugs on QtWebKit: http://trac.webkit.org/wiki/QtWebKitBugs
Could you please attach a test case?
Closing as invalid. I would not be surprised if the view does not even have a page yet. I will reopen when you attach the test case.
Andreas Kling
Can't reproduce any crash on ToT (r80345), please re-open with a valid, self-contained test-case.