<?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>13914</bug_id>
          
          <creation_ts>2007-05-29 17:17:24 -0700</creation_ts>
          <short_desc>REGRESSION: Kotoeri mode switching behavior incorrect</short_desc>
          <delta_ts>2007-07-08 18:03:05 -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>Text</component>
          <version>523.x (Safari 3)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar, Regression</keywords>
          <priority>P1</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Daniel Acosta">danrha</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>oliver</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>8817</commentid>
    <comment_count>0</comment_count>
    <who name="Daniel Acosta">danrha</who>
    <bug_when>2007-05-29 17:17:24 -0700</bug_when>
    <thetext>When switching between Kotoeri modes using the keyboard, previous selected text changes its script.

To reproduce:
1. Focus any standard input box in any site and switch to Kotoeri Katakana mode
2. Input any text that can be written with katakana like Kotoeri (result: &amp;#12467;&amp;#12488;&amp;#12456;&amp;#12522;)
3. Without pressing anything or changing focus switch to Romaji mode using the keyboard shortcut Ctrl+Shit+;
4. The text you typed shoud change to it&apos;s romaji equivalent (f.e. kotoeri)

I think this is related to http://bugs.webkit.org/show_bug.cgi?id=13605, but that problem was resolved some other way, so it&apos;s a better idea posting this as a separate lower priority bug... the behavior doesnt occur in standard Safari.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8786</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2007-05-29 21:37:26 -0700</bug_when>
    <thetext>Confirmed as a regression with r21802 (the problem is in step 4 - the text _shouldn&apos;t_ change to Romaji, but it does).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8284</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2007-06-05 12:01:20 -0700</bug_when>
    <thetext>The bad things happen inside WebHTMLView&apos;s _interceptEditingKeyEvent:

#0	0x00362884 in -[WebHTMLView(WebNSTextInputSupport) setMarkedText:selectedRange:] at WebHTMLView.mm:5380
&lt;...&gt;
#31	0x9387f8a0 in -[NSView interpretKeyEvents:]
#32	0x003680e0 in -[WebHTMLView(WebInternal) _interceptEditingKeyEvent:shouldSaveCommand:] at WebHTMLView.mm:5189

I&apos;m not sure whether this means that -[NSView interpretKeyEvents:] is being called at a wrong time, or just that WebKit doesn&apos;t properly implement some other feature needed by Kotoeri.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6774</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2007-06-22 04:11:25 -0700</bug_when>
    <thetext>rdar://5287270</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6093</commentid>
    <comment_count>4</comment_count>
    <who name="Oliver Hunt">oliver</who>
    <bug_when>2007-06-27 02:32:05 -0700</bug_when>
    <thetext>This is not reproducable afaict.  Quite probably fixed by r23813</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6075</commentid>
    <comment_count>5</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2007-06-27 11:39:00 -0700</bug_when>
    <thetext>Works for me now, too.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>