[Webkit-unassigned] [Bug 87911] New: [chromium] There is no way to retrieve composition character rectangle in WebKit/chromium

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 30 17:38:26 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=87911

           Summary: [chromium] There is no way to retrieve composition
                    character rectangle in WebKit/chromium
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Text
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: nona at chromium.org
                CC: fishd at chromium.org


Created an attachment (id=144954)
 --> (https://bugs.webkit.org/attachment.cgi?id=144954&action=review)
Comparison of candidate window position

Some IME(input method editor, text inputting tool for CJK people) shows candidate window to select desired words.
There are two types of candidate window in Japanese, one is shown just under cursor position and the other is shown aligning with composition text.
In the former case, Chrome already support by using WebKit::WebWidget::selectionBounds API.
However in the latter case, Chrome cannot support because WebKit does not support composition character boundary rectangles retrieval.
In the case of Windows, this is corresponding to IMR_QUERYCHARPOSITION(ref 1) and we need to add API to retrieve composition character rectangles for supporting this message.
This feature is not only Windows but also MacOSX(ref 2) and Chrome OS(ref 3).

In addition, this feature is already implemented in WebKit/win as WebView::onIMERequestCharPosition, so Windows safari already support this feature(please see attached screen shot).
Please let me add new API into WebKit/chromium.

Reference:
1. http://msdn.microsoft.com/en-us/library/windows/desktop/dd318634(v=vs.85).aspx
2. https://developer.apple.com/library/mac/#documentation/Cocoa/Reference/NSTextInputClient_Protocol/Reference/Reference.html
3. http://code.google.com/p/chromium/issues/detail?id=120597

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list