<?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>45047</bug_id>
          
          <creation_ts>2010-09-01 11:16:47 -0700</creation_ts>
          <short_desc>WebViews should allow their parent windows to handle WM_MOUSEACTIVATE messages</short_desc>
          <delta_ts>2010-09-01 16:19:44 -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>Windows 7</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jessie Berlin">jberlin</reporter>
          <assigned_to name="Jessie Berlin">jberlin</assigned_to>
          <cc>aroben</cc>
    
    <cc>jberlin</cc>
    
    <cc>jhoneycutt</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>272904</commentid>
    <comment_count>0</comment_count>
    <who name="Jessie Berlin">jberlin</who>
    <bug_when>2010-09-01 11:16:47 -0700</bug_when>
    <thetext>Right now we leave handled as true when we process the WM_MOUSEACTIVATE message, which then prevents us from calling DefWindowProc (which would pass the message to the parent window).

We should set handled to false when we process the WM_MOUSEACTIVATE message so we call DefWindowProc.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>272906</commentid>
    <comment_count>1</comment_count>
      <attachid>66238</attachid>
    <who name="Jessie Berlin">jberlin</who>
    <bug_when>2010-09-01 11:21:52 -0700</bug_when>
    <thetext>Created attachment 66238
Sets handled to false in WebViewWndProc while handling the WM_MOUSEACTIVATE message.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>272990</commentid>
    <comment_count>2</comment_count>
      <attachid>66238</attachid>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2010-09-01 13:52:12 -0700</bug_when>
    <thetext>Comment on attachment 66238
Sets handled to false in WebViewWndProc while handling the WM_MOUSEACTIVATE message.

r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>273095</commentid>
    <comment_count>3</comment_count>
      <attachid>66238</attachid>
    <who name="Jessie Berlin">jberlin</who>
    <bug_when>2010-09-01 16:19:35 -0700</bug_when>
    <thetext>Comment on attachment 66238
Sets handled to false in WebViewWndProc while handling the WM_MOUSEACTIVATE message.

Committed in r66623
http://trac.webkit.org/changeset/66623</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>66238</attachid>
            <date>2010-09-01 11:21:52 -0700</date>
            <delta_ts>2010-09-01 16:19:35 -0700</delta_ts>
            <desc>Sets handled to false in WebViewWndProc while handling the WM_MOUSEACTIVATE message.</desc>
            <filename>allowWebViewParentsToHandleMOUSEACTIVATEmessages.patch</filename>
            <type>text/plain</type>
            <size>1045</size>
            <attacher name="Jessie Berlin">jberlin</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYktpdC93aW4vQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYktpdC93aW4vQ2hh
bmdlTG9nCShyZXZpc2lvbiA2NjYwOSkKKysrIFdlYktpdC93aW4vQ2hhbmdlTG9nCSh3b3JraW5n
IGNvcHkpCkBAIC0xLDMgKzEsMTMgQEAKKzIwMTAtMDktMDEgIEplc3NpZSBCZXJsaW4gIDxqYmVy
bGluQGFwcGxlLmNvbT4KKworICAgICAgICBSZXZpZXdlZCBieSBOT0JPRFkgKE9PUFMhKS4KKwor
ICAgICAgICBXZWJWaWV3cyBzaG91bGQgYWxsb3cgdGhlaXIgcGFyZW50IHdpbmRvd3MgdG8gaGFu
ZGxlIFdNX01PVVNFQUNUSVZBVEUgbWVzc2FnZXMuCisgICAgICAgIGh0dHBzOi8vYnVncy53ZWJr
aXQub3JnL3Nob3dfYnVnLmNnaT9pZD00NTA0NworCisgICAgICAgICogV2ViVmlldy5jcHA6Cisg
ICAgICAgIChXZWJWaWV3OjpXZWJWaWV3V25kUHJvYyk6CisKIDIwMTAtMDgtMzEgIERhdmUgSHlh
dHQgIDxoeWF0dEBhcHBsZS5jb20+CiAKICAgICAgICAgUmV2aWV3ZWQgYnkgU2FtIFdlaW5pZy4K
SW5kZXg6IFdlYktpdC93aW4vV2ViVmlldy5jcHAKPT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0gV2ViS2l0L3dpbi9X
ZWJWaWV3LmNwcAkocmV2aXNpb24gNjY0OTUpCisrKyBXZWJLaXQvd2luL1dlYlZpZXcuY3BwCSh3
b3JraW5nIGNvcHkpCkBAIC0yMTkzLDYgKzIxOTMsNyBAQCBMUkVTVUxUIENBTExCQUNLIFdlYlZp
ZXc6OldlYlZpZXdXbmRQcm9jCiAgICAgICAgICAgICBicmVhazsKICAgICAgICAgY2FzZSBXTV9N
T1VTRUFDVElWQVRFOgogICAgICAgICAgICAgd2ViVmlldy0+c2V0TW91c2VBY3RpdmF0ZWQodHJ1
ZSk7CisgICAgICAgICAgICBoYW5kbGVkID0gZmFsc2U7CiAgICAgICAgICAgICBicmVhazsKICAg
ICAgICAgY2FzZSBXTV9HRVRETEdDT0RFOiB7CiAgICAgICAgICAgICBDT01QdHI8SVdlYlVJRGVs
ZWdhdGU+IHVpRGVsZWdhdGU7Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>