[Webkit-unassigned] [Bug 89076] New: [Mac, WK2] A grammar marker flickers while typing

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 14 01:46:45 PDT 2012


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

           Summary: [Mac, WK2] A grammar marker flickers while typing
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.7
            Status: NEW
          Severity: Normal
          Priority: P3
         Component: WebKit2
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: hbono at chromium.org


Greetings,

Even though I thought this was a regression of my r117470 <http://trac.webkit.org/changeset/117470> for the first time, it seem to happen  before my change (at least on Safari 5.1.3 on OS X Lion and WebKit nightly r112532).

Steps to reproduce:

1. Enable the "Check grammar while spelling" item from a manu bar "Edit" -> "Spelling and Grammar".
2. Type "You has ". (Safari adds a green underline below of the word "has".)
3. Type "th".

Expected Results:
Safari keeps the green underline below of the word "has".

Actual Results:
Safari removes the green underline.

It seems when we type "th", Editor::respondToChangedSelection() removed the grammar marker. Even though my r117470 did not prevent Editor::respondToChangedSelection() from removing grammar markers (*1), is it better to prevent the function from deleting grammar markers? (I do not have background of the original function and I'm not sure that I can change this behavior.)

(*1) http://code.google.com/searchframe#OAMlx_jo-ck/src/third_party/WebKit/Source/WebKit2/WebProcess/WebCoreSupport/WebEditorClient.cpp&l=379

Regards,

Hironori Bono

-- 
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