<?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>32836</bug_id>
          
          <creation_ts>2009-12-21 12:50:26 -0800</creation_ts>
          <short_desc>PluginView is missing loseFocus functionality</short_desc>
          <delta_ts>2011-03-09 10:35:12 -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>Mac</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>37961</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Alexander Mohr">amohr</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>mihnea</cc>
    
    <cc>rhudea</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>174045</commentid>
    <comment_count>0</comment_count>
    <who name="Alexander Mohr">amohr</who>
    <bug_when>2009-12-21 12:50:26 -0800</bug_when>
    <thetext>In AIR we&apos;ve created a carbon plug-in view.  From Widget::setFocus we dispatch the getFocusEvent.   This is called from Document::setFocusedNode.

Windowless plug-ins rely on the PluginView to determine if they have gained, and lost focus.

The issue is that the PluginView currently receives no notifications that it has lost focus.

I suggest the following fix:

1) Add boolean parameter to Widget::setFocus
2) update Document::setFocusedNode to call Widget::setFocus with the appropriate boolean values.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>364370</commentid>
    <comment_count>1</comment_count>
    <who name="Raul Hudea">rhudea</who>
    <bug_when>2011-03-09 01:39:25 -0800</bug_when>
    <thetext>This bug can be closed and marked as duplicate for https://bugs.webkit.org/show_bug.cgi?id=37961. (which was already fixed)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>364588</commentid>
    <comment_count>2</comment_count>
    <who name="Alexander Mohr">amohr</who>
    <bug_when>2011-03-09 10:35:12 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 37961 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>