<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>45392</bug_id>
          
          <creation_ts>2010-09-08 07:43:47 -0700</creation_ts>
          <short_desc>[Qt] QWebView::event gives seg fault while handling ContextMenu event</short_desc>
          <delta_ts>2011-03-13 08:22:08 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKit Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Qt, QtTriaged</keywords>
          <priority>P5</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Priyaranjan">priyaranjan.2.singh</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>benjamin</cc>
    
    <cc>cmarcelo</cc>
    
    <cc>kling</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>275831</commentid>
    <comment_count>0</comment_count>
    <who name="Priyaranjan">priyaranjan.2.singh</who>
    <bug_when>2010-09-08 07:43:47 -0700</bug_when>
    <thetext>Doing like this is giving crash/segmentation fault:

---------------------------------
QPoint qpoint (1,2);

QContextMenuEvent contextMenuEvent(QContextMenuEvent::Mouse, QPoint(1, 2));

QCoreApplication::sendEvent(controller-&gt;webWidget(), &amp;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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>334429</commentid>
    <comment_count>1</comment_count>
    <who name="Benjamin Poulain">benjamin</who>
    <bug_when>2011-01-14 11:06:06 -0800</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>366702</commentid>
    <comment_count>2</comment_count>
    <who name="Andreas Kling">kling</who>
    <bug_when>2011-03-13 08:22:08 -0700</bug_when>
    <thetext>Can&apos;t reproduce any crash on ToT (r80345), please re-open with a valid, self-contained test-case.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>