<?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>65349</bug_id>
          
          <creation_ts>2011-07-28 16:29:29 -0700</creation_ts>
          <short_desc>CJK input broken after clicking on Flash content</short_desc>
          <delta_ts>2011-08-09 10:38:57 -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>Plug-ins</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Tim Horton">thorton</reporter>
          <assigned_to name="Tim Horton">thorton</assigned_to>
          <cc>andersca</cc>
    
    <cc>ap</cc>
    
    <cc>darin</cc>
    
    <cc>freshworks</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>443702</commentid>
    <comment_count>0</comment_count>
    <who name="Tim Horton">thorton</who>
    <bug_when>2011-07-28 16:29:29 -0700</bug_when>
    <thetext>Steps to Reproduce:

0. Install Flash.
1. Enable Japanese text entry. Hiragana works.
2. Go to youtube.com. Make sure it&apos;s using Flash, not HTML5 Video.
3. Click on a video.
4. Click the play/pause button.
5. Click the back button.
6. Try to type into the search field.

Expected Results:

Inline text entry.

Actual Results:

Somewhat-buggy bottom-bar text entry, as in Flash apps.

Notes (from ChangeLog):

After giving Flash focus on a page and then navigating away from that page
using the back button, we were not getting notified to switch back to
inline (non-complex) input. Now, notify the page that it can leave complex
text mode when the plugin is destroyed.

Patch forthcoming.

&lt;rdar://problem/9854447&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>443704</commentid>
    <comment_count>1</comment_count>
      <attachid>102311</attachid>
    <who name="Tim Horton">thorton</who>
    <bug_when>2011-07-28 16:31:01 -0700</bug_when>
    <thetext>Created attachment 102311
patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>443724</commentid>
    <comment_count>2</comment_count>
      <attachid>102311</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2011-07-28 17:07:12 -0700</bug_when>
    <thetext>Comment on attachment 102311
patch

Rejecting attachment 102311 from commit-queue.

Failed to run &quot;[&apos;./Tools/Scripts/webkit-patch&apos;, &apos;--status-host=queues.webkit.org&apos;, &apos;--bot-id=ec2-cq-03&apos;, &apos;--port...&quot; exit_code: 1

Last 500 characters of output:
eLog
	M	Source/WebKit2/Shared/FontInfo.cpp
	M	Source/WebKit2/WebProcess/WebCoreSupport/mac/WebPopupMenuMac.mm
r91961 = c8c9ff84269378e6e74c1a17182ca2426ec5bf38 (refs/remotes/origin/master)
First, rewinding head to replay your work on top of it...
Fast-forwarded master to refs/remotes/origin/master.
Updating chromium port dependencies using gclient...

________ running &apos;/usr/bin/python gyp_webkit&apos; in &apos;/mnt/git/webkit-commit-queue/Source/WebKit/chromium&apos;
Updating webkit projects from gyp files...

Full output: http://queues.webkit.org/results/9265319</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>443729</commentid>
    <comment_count>3</comment_count>
      <attachid>102314</attachid>
    <who name="Tim Horton">thorton</who>
    <bug_when>2011-07-28 17:13:41 -0700</bug_when>
    <thetext>Created attachment 102314
patch

Bot output is odd, but I somehow deleted the Reviewed by line.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>443734</commentid>
    <comment_count>4</comment_count>
      <attachid>102314</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2011-07-28 17:26:12 -0700</bug_when>
    <thetext>Comment on attachment 102314
patch

Clearing flags on attachment: 102314

Committed r91964: &lt;http://trac.webkit.org/changeset/91964&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>443735</commentid>
    <comment_count>5</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2011-07-28 17:26:16 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>443809</commentid>
    <comment_count>6</comment_count>
      <attachid>102314</attachid>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2011-07-28 21:51:04 -0700</bug_when>
    <thetext>Comment on attachment 102314
patch

What will fix text input if the plugin view goes into back/forward cache without being deleted?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>443813</commentid>
    <comment_count>7</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2011-07-28 22:00:01 -0700</bug_when>
    <thetext>Good point. I don’t think the destructor is the right place to put this code. I didn’t actually look at the patch. I just reviewed so the commit-bot would work. Anders was the actual reviewer.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>443814</commentid>
    <comment_count>8</comment_count>
    <who name="Tim Horton">thorton</who>
    <bug_when>2011-07-28 22:03:24 -0700</bug_when>
    <thetext>Indeed, and I&apos;ve just Cc&apos;d Anders.

I got the impression from him that this was the right place to put it (I went into his office with no idea where to put it), but Alexey&apos;s point is definitely valid (and something I hadn&apos;t considered). I&apos;ll talk to him again tomorrow and see about better options.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>443817</commentid>
    <comment_count>9</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2011-07-28 22:16:09 -0700</bug_when>
    <thetext>Well, the answer is that pages with plug-ins never go into b/f cache. But we want to fix that, and there is nothing to remind us that this bug needs to be revisited when doing so.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>448661</commentid>
    <comment_count>10</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2011-08-09 10:38:57 -0700</bug_when>
    <thetext>*** Bug 65892 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>102311</attachid>
            <date>2011-07-28 16:31:01 -0700</date>
            <delta_ts>2011-07-28 17:13:41 -0700</delta_ts>
            <desc>patch</desc>
            <filename>9854447.patch</filename>
            <type>text/plain</type>
            <size>1440</size>
            <attacher name="Tim Horton">thorton</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1NvdXJjZS9XZWJLaXQyL0NoYW5nZUxvZyBiL1NvdXJjZS9XZWJLaXQyL0No
YW5nZUxvZwppbmRleCA3ZGFmNzVmLi4zMDc2MzU1IDEwMDY0NAotLS0gYS9Tb3VyY2UvV2ViS2l0
Mi9DaGFuZ2VMb2cKKysrIGIvU291cmNlL1dlYktpdDIvQ2hhbmdlTG9nCkBAIC0xLDMgKzEsMTcg
QEAKKzIwMTEtMDctMjggIFRpbSBIb3J0b24gIDx0aW1vdGh5X2hvcnRvbkBhcHBsZS5jb20+CisK
KyAgICAgICAgUkVHUkVTU0lPTiAoNS4xKTogQ0pLIGlucHV0IGJyb2tlbiBhZnRlciBjbGlja2lu
ZyBvbiBGbGFzaCBjb250ZW50CisgICAgICAgIDxyZGFyOi8vcHJvYmxlbS85ODU0NDQ3PgorICAg
ICAgICBodHRwczovL2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1Zy5jZ2k/aWQ9NjUzNDkKKworICAg
ICAgICBBZnRlciBnaXZpbmcgRmxhc2ggZm9jdXMgb24gYSBwYWdlIGFuZCB0aGVuIG5hdmlnYXRp
bmcgYXdheSBmcm9tIHRoYXQgcGFnZQorICAgICAgICB1c2luZyB0aGUgYmFjayBidXR0b24sIHdl
IHdlcmUgbm90IGdldHRpbmcgbm90aWZpZWQgdG8gc3dp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BMQVRGT1JNKE1BQykKKyAgICAgICAgc2V0Q29tcGxleFRleHRJ
bnB1dEVuYWJsZWQoZmFsc2UpOworI2VuZGlmCiAgICAgfQogCiAgICAgLy8gSW52YWxpZGF0ZSB0
aGUgb2JqZWN0IG1hcC4K
</data>
<flag name="review"
          id="97535"
          type_id="1"
          status="+"
          setter="andersca"
    />
    <flag name="commit-queue"
          id="97536"
          type_id="3"
          status="-"
          setter="webkit.review.bot"
    />
          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>102314</attachid>
            <date>2011-07-28 17:13:41 -0700</date>
            <delta_ts>2011-07-28 21:51:04 -0700</delta_ts>
            <desc>patch</desc>
            <filename>9854447.patch</filename>
            <type>text/plain</type>
            <size>1479</size>
            <attacher name="Tim Horton">thorton</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1NvdXJjZS9XZWJLaXQyL0NoYW5nZUxvZyBiL1NvdXJjZS9XZWJLaXQyL0No
YW5nZUxvZwppbmRleCA3ZGFmNzVmLi45NTVhODE5IDEwMDY0NAotLS0gYS9Tb3VyY2UvV2ViS2l0
Mi9DaGFuZ2VMb2cKKysrIGIvU291cmNlL1dlYktpdDIvQ2hhbmdlTG9nCkBAIC0xLDMgKzEsMTkg
QEAKKzIwMTEtMDctMjggIFRpbSBIb3J0b24gIDx0aW1vdGh5X2hvcnRvbkBhcHBsZS5jb20+CisK
KyAgICAgICAgUkVHUkVTU0lPTiAoNS4xKTogQ0pLIGlucHV0IGJyb2tlbiBhZnRlciBjbGlja2lu
ZyBvbiBGbGFzaCBjb250ZW50CisgICAgICAgIDxyZGFyOi8vcHJvYmxlbS85ODU0NDQ3PgorICAg
ICAgICBodHRwczovL2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1Zy5jZ2k/aWQ9NjUzNDkKKworICAg
ICAgICBSZXZpZXdlZCBieSBOT0JPRFkgKE9PUFMhKS4KKworICAgICAgICBBZnRlciBnaXZpbmcg
Rmxh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