<?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>4709</bug_id>
          
          <creation_ts>2005-08-28 06:18:12 -0700</creation_ts>
          <short_desc>REGRESSION: Ctrl+Backspace works incorrectly (please implement deleteBackwardByDecomposingPreviousCharacter)</short_desc>
          <delta_ts>2012-12-30 17:16:30 -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>420+</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar, Regression</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexey Proskuryakov">ap</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>eric</cc>
    
    <cc>ian</cc>
    
    <cc>jshin</cc>
    
    <cc>rniwa</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>17801</commentid>
    <comment_count>0</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2005-08-28 06:18:12 -0700</bug_when>
    <thetext>Steps to reproduce:
1. Launch Blot (example from /Developer/Examples/WebKit)
2. Type any decomposable character (such as Ã© = option-e, e)
3. From Blot&apos;s Debug menu, select Show Operations
4. Click on deleteBackwardByDecomposingPreviousCharacter:

Results: the character disappears.
Expected results: only the accent should disappear.

Here is the relevant part from NSResponder documentation:

- (void)deleteBackwardByDecomposingPreviousCharacter:(id)sender

Implemented by subclasses to delete the selection, if there is one, or a single character backward from 
the insertion point. If the previous character is canonically decomposable, this method should try to 
delete only the last character in the grapheme cluster (for example, deleting â€œaâ€?+ â€œÂ´â€? results in â€œaâ€?). The 
sender argument is typically the object that invoked this method. NSResponder declares but does not 
implement this method.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18659</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2005-09-04 08:16:23 -0700</bug_when>
    <thetext>(the bug description should be viewed with encoding = UTF-8)

This can be also reproduced in Mail, Stickies etc. by pressing Ctrl+Backspace (which should do the same 
as deleteBackwardByDecomposingPreviousCharacter). In debugging builds, a message is logged: 

=================
ERROR: unimplemented, doing deleteBackward instead
(/Users/ap/WebKit/WebKit/WebView.subproj/WebHTMLView.m:4288 -[WebHTMLView 
deleteBackwardByDecomposingPreviousCharacter:])
=================
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38819</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2006-04-09 01:09:03 -0700</bug_when>
    <thetext>This has become a native text field regression, bumping priority to P1.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38888</commentid>
    <comment_count>3</comment_count>
    <who name="Adele Peterson">adele</who>
    <bug_when>2006-04-10 13:31:25 -0700</bug_when>
    <thetext>While this is a regression for native text fields, its an obscure enough feature that we want to leave it as P2.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>41763</commentid>
    <comment_count>4</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2006-12-17 01:29:21 -0800</bug_when>
    <thetext>Adding NeedsRadar keyword. I agree that this feature isn&apos;t particularly important for English (or Russian), but it might be vital for other languages.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34579</commentid>
    <comment_count>5</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2007-01-16 18:42:30 -0800</bug_when>
    <thetext>&lt;rdar://problem/4928524&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>5296</commentid>
    <comment_count>6</comment_count>
      <attachid>15429</attachid>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2007-07-07 05:22:07 -0700</bug_when>
    <thetext>Created attachment 15429
test case (DRT + manual)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>110034</commentid>
    <comment_count>7</comment_count>
    <who name="Justin Garcia">justin.garcia</who>
    <bug_when>2009-02-17 16:21:30 -0800</bug_when>
    <thetext>This is now &lt;rdar://problem/3655396&gt;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>798278</commentid>
    <comment_count>8</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2012-12-30 17:16:30 -0800</bug_when>
    <thetext>I assume this is a mac-specific bug?</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>15429</attachid>
            <date>2007-07-07 05:22:07 -0700</date>
            <delta_ts>2007-07-07 05:22:07 -0700</delta_ts>
            <desc>test case (DRT + manual)</desc>
            <filename>ctrl-backspace.html</filename>
            <type>text/html</type>
            <size>1269</size>
            <attacher name="Alexey Proskuryakov">ap</attacher>
            
              <data encoding="base64">PGh0bWw+CjxoZWFkPgo8bWV0YSBjaGFyc2V0PSJVVEYtOCI+CjwvaGVhZD4KPGJvZHk+CjxwPlRl
c3QgZm9yIDxhIGhyZWY9Imh0dHA6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTQ3
MDkiPmJ1ZyA0NzA5PC9hPjoKQ3RybCtCYWNrc3BhY2Ugd29ya3MgaW5jb3JyZWN0bHkgKHBsZWFz
ZSBpbXBsZW1lbnQgZGVsZXRlQmFja3dhcmRCeURlY29tcG9zaW5nUHJldmlvdXNDaGFyYWN0ZXIp
LjwvcD4KPGRpdiBjb250ZW50ZWRpdGFibGU+w6nDqcOpPC9kaXY+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