RESOLVED WORKSFORME 45392
[Qt] QWebView::event gives seg fault while handling ContextMenu event
https://bugs.webkit.org/show_bug.cgi?id=45392
Summary [Qt] QWebView::event gives seg fault while handling ContextMenu event
Priyaranjan
Reported 2010-09-08 07:43:47 PDT
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
Benjamin Poulain
Comment 1 2011-01-14 11:06:06 PST
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
Comment 2 2011-03-13 08:22:08 PDT
Can't reproduce any crash on ToT (r80345), please re-open with a valid, self-contained test-case.
Note You need to log in before you can comment on or make changes to this bug.