Bug 128323

Summary: [Win] Correct IME Regression after r141479
Product: WebKit Reporter: Brent Fulgham <bfulgham>
Component: WebKit Misc.Assignee: Brent Fulgham <bfulgham>
Status: RESOLVED FIXED    
Severity: Critical CC: ap
Priority: P1 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: PC   
OS: All   
Bug Depends on: 107737    
Bug Blocks:    
Attachments:
Description Flags
Patch
none
Patch
none
Patch thorton: review+

Description Brent Fulgham 2014-02-06 12:09:34 PST
Some sloppy refactoring in http://trac.webkit.org/changeset/141479 broke IME under Windows.
Comment 1 Brent Fulgham 2014-02-06 12:11:32 PST
Created attachment 223363 [details]
Patch
Comment 2 Brent Fulgham 2014-02-06 12:15:43 PST
Created attachment 223365 [details]
Patch
Comment 3 Brent Fulgham 2014-02-06 12:16:23 PST
Comment on attachment 223365 [details]
Patch

Remove extraneous cancelComposition, since the refactored Editor::cancelCompositionIfSelectionIsInvalid() already does this.
Comment 4 Tim Horton 2014-02-06 12:22:14 PST
Comment on attachment 223365 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=223365&action=review

> Source/WebKit/win/WebView.cpp:-5556
> -    if (targetFrame)
> -        targetFrame->editor().cancelComposition();
> -

updateSelectionForIME is not the only caller of resetIME, please revert this part.
Comment 5 Brent Fulgham 2014-02-06 12:22:48 PST
Created attachment 223367 [details]
Patch
Comment 6 Brent Fulgham 2014-02-06 12:33:56 PST
Committed r163557: <http://trac.webkit.org/changeset/163557>
Comment 7 Brent Fulgham 2014-02-06 12:44:35 PST
<rdar://problem/15952986>