Bug 56974

Summary: Services menu item to convert selected Simplified/Traditional Chinese Text is not working
Product: WebKit Reporter: Enrica Casucci <enrica>
Component: HTML EditingAssignee: Enrica Casucci <enrica>
Status: RESOLVED FIXED    
Severity: Normal CC: adele
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   
Attachments:
Description Flags
Patch ap: review+

Enrica Casucci
Reported 2011-03-23 16:33:08 PDT
Repro steps: 1. Launch Safari and navigate to http://www.mozilla.org/editor/midasdemo/ 2. Type "简体". 3. Control-click on the first character to bring up the context menu. 4. Choose "Convert Selected Simplified Chinese Text" Expected The character changes to 簡 Actual The character is unchanged.
Attachments
Patch (2.90 KB, patch)
2011-03-23 16:43 PDT, Enrica Casucci
ap: review+
Enrica Casucci
Comment 1 2011-03-23 16:33:42 PDT
I believe this regressed in http://trac.webkit.org/changeset/61794 where the readSelectionFromPasteboard method was removed from WebHTMLView.
Enrica Casucci
Comment 2 2011-03-23 16:43:50 PDT
Alexey Proskuryakov
Comment 3 2011-03-23 16:53:45 PDT
Comment on attachment 86719 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=86719&action=review > Source/WebKit/mac/ChangeLog:11 > + This methos and writeSelectionToPasteboard are needed to support Mac OS X Typo: method. > Source/WebKit/mac/WebView/WebHTMLView.mm:931 > +- (BOOL)readSelectionFromPasteboard:(NSPasteboard *)pasteboard It would be good to add a comment explaining that this method is not unused (same for matching "write" one).
Alexey Proskuryakov
Comment 4 2011-03-23 16:54:31 PDT
Enrica Casucci
Comment 5 2011-03-23 17:21:00 PDT
(In reply to comment #3) > (From update of attachment 86719 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=86719&action=review > > > Source/WebKit/mac/ChangeLog:11 > > + This methos and writeSelectionToPasteboard are needed to support Mac OS X > > Typo: method. > > > Source/WebKit/mac/WebView/WebHTMLView.mm:931 > > +- (BOOL)readSelectionFromPasteboard:(NSPasteboard *)pasteboard > > It would be good to add a comment explaining that this method is not unused (same for matching "write" one). Done. Thanks for the review!
Enrica Casucci
Comment 6 2011-03-23 17:22:13 PDT
Note You need to log in before you can comment on or make changes to this bug.