Bug 15714 - REGRESSION: insertion point disappears after deleting the last character in inline hole
Summary: REGRESSION: insertion point disappears after deleting the last character in i...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: 523.x (Safari 3)
Hardware: Mac OS X 10.4
: P1 Major
Assignee: Nobody
URL:
Keywords: InRadar, Regression
Depends on:
Blocks:
 
Reported: 2007-10-26 12:12 PDT by Alexey Proskuryakov
Modified: 2007-11-06 22:41 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Proskuryakov 2007-10-26 12:12:54 PDT
Steps to reproduce:
1. Type any single character with Kotoeri.
2. Press backspace.

Results: insertion point disappears; further keypresses have no effect.
Comment 1 Alexey Proskuryakov 2007-11-02 00:33:09 PDT
Actually, I'm seeing the insertion point disappear all the time when typing with RuSwitcher, even when not using Backspace. I'm not opening a new bug as I hope that the root cause is the same.

Makes typing really hard for me :(
Comment 2 Alexey Proskuryakov 2007-11-02 00:45:57 PDT
This was apparently introduced in r27009 with a fix for rdar://problem/5544856 and (incidentally) bug 15702.
Comment 3 David Kilzer (:ddkilzer) 2007-11-02 11:07:55 PDT
<rdar://problem/5576619>
Comment 4 Justin Garcia 2007-11-02 12:44:18 PDT
Investigating...
Comment 5 Justin Garcia 2007-11-02 14:11:12 PDT
I have a fix, TypingCommand::deleteSelection needs to call typingAddedToOpenCommand(), which will take the command's endingSelection and set it as selection.  Working on a layout test.
Comment 6 Alexey Proskuryakov 2007-11-06 22:41:14 PST
Fixed in <http://trac.webkit.org/projects/webkit/changeset/27488>.