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.
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.
Can't reproduce any crash on ToT (r80345), please re-open with a valid, self-contained test-case.