<?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>29587</bug_id>
          
          <creation_ts>2009-09-21 08:52:35 -0700</creation_ts>
          <short_desc>[Qt] webview doesn&apos;t respond to click on youtube video</short_desc>
          <delta_ts>2010-03-09 09:21:23 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Plug-ins</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Qt</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Tor Arne Vestbø">vestbo</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>jturcotte</cc>
    
    <cc>kenneth</cc>
    
    <cc>tonikitoo</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>148698</commentid>
    <comment_count>0</comment_count>
    <who name="Tor Arne Vestbø">vestbo</who>
    <bug_when>2009-09-21 08:52:35 -0700</bug_when>
    <thetext>This bug report originated from Nokia internal issue QT-1864


--- Comments ---

Function: webkit

Version: 4.5.2

Platform: WindowsXP
macbook, windows xp, visual studio 2008 express

Compiler: MSVC
nothing

Short description: webview doesn&apos;t respond to click on youtube video

Did:
i&apos;m not sure if this is a bug. i want to implement a feature with the qt webkit, such that when i click on a webpage element, such as an image, the browser can detect what I&apos;ve just clicked. for example, if i click on an image, the browser can tell me that i just clicked on an image. i tried to implement this with the hitTestContent function. i added the hit test inside a webview mousePressEvent function, the code i&apos;m modifying is the browser demo of the QT4.5.2. everything works fine until i tried to click on youtube videos or hulu videos. the mousePressEvent is not called at all when i click on the video, however the function does work for some other flash video site. i don&apos;t why. i think this might be a bug. eventually i want my program to detect the flash video under the mouse click, but now i&apos;m stuck.

Expected to see:
just set a break point in the mousePressEvent function under webview.cpp of the Qt4.5.2 browser demo. and run the demo and browse a youtube video page and click on the video and then click on somewhere else. the mousePressEvent should respond to both clicking.

Got instead:
the mousePressEvent doesn&apos;t respond to clicking on the youtube video.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>197619</commentid>
    <comment_count>1</comment_count>
    <who name="Jocelyn Turcotte">jturcotte</who>
    <bug_when>2010-03-09 09:21:23 -0800</bug_when>
    <thetext>NPAPI plugins windows are most of the time associated to a different event loop.
My guess is that this is not a supported behavior.

Closing as invalid, please re-open if a different point of view is felt.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>