<?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>247374</bug_id>
          
          <creation_ts>2022-11-02 12:46:41 -0700</creation_ts>
          <short_desc>IME keyboard does not work with manually focused input</short_desc>
          <delta_ts>2023-01-31 15:50:17 -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>HTML Editing</component>
          <version>Safari 16</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>iOS 16</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></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="Sean Perkins">sean</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>hhjalmarsson</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>wenson_hsieh</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1909835</commentid>
    <comment_count>0</comment_count>
    <who name="Sean Perkins">sean</who>
    <bug_when>2022-11-02 12:46:41 -0700</bug_when>
    <thetext>When manually focusing an input element with an IME active, the keyboard remains visible, but additional inputs to the keyboard do not register with the focused element.

Steps to reproduce:

1. Enable an additional IME on your iPhone (e.g. Enable Japanese - Romanji keyboard)
2. Visit: https://codepen.io/sean-perkins/pen/PoaNJov on Mobile Safari
3. Tap the focus the input and present the keyboard
4. Tap to change the keyboard to the alternate IME (e.g.: Japanese - Romanji)
5. Type with the keyboard
6. Observe: Keyboard input is registered in the form control
7. Click &quot;Clear&quot; button&quot; with the keyboard open
8. Observe: Input is cleared, focus cursor indicates input is still active/focused
9. Type with the keyboard
10. Observe: Keyboard input is not registered in the form control

User interaction to blur and focus the input will result in the keyboard input being registered in the form control. 

Expected: When using an IME and manually focusing an input element, the keyboard should continue to register changes with the focused element.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1917683</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-12-08 12:35:14 -0800</bug_when>
    <thetext>&lt;rdar://problem/103141758&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1929899</commentid>
    <comment_count>2</comment_count>
    <who name="Robert Jenner">jenner</who>
    <bug_when>2023-01-31 15:50:17 -0800</bug_when>
    <thetext>*** Bug 247073 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>