Bug 15714

Summary: REGRESSION: insertion point disappears after deleting the last character in inline hole
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: HTML EditingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Major CC: darin, justin.garcia
Priority: P1 Keywords: InRadar, Regression
Version: 523.x (Safari 3)   
Hardware: Mac   
OS: OS X 10.4   

Alexey Proskuryakov
Reported 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.
Attachments
Alexey Proskuryakov
Comment 1 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 :(
Alexey Proskuryakov
Comment 2 2007-11-02 00:45:57 PDT
This was apparently introduced in r27009 with a fix for rdar://problem/5544856 and (incidentally) bug 15702.
David Kilzer (:ddkilzer)
Comment 3 2007-11-02 11:07:55 PDT
Justin Garcia
Comment 4 2007-11-02 12:44:18 PDT
Investigating...
Justin Garcia
Comment 5 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.
Alexey Proskuryakov
Comment 6 2007-11-06 22:41:14 PST
Note You need to log in before you can comment on or make changes to this bug.