[Webkit-unassigned] [Bug 32879] New: [GTK] Only load dictionaries if spell check is enabled

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 22 13:08:22 PST 2009


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

           Summary: [GTK] Only load dictionaries if spell check is enabled
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Keywords: Gtk
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: christian at twotoasts.de


Currently enchant dictionaries are loaded unconditionally for any new
WebKitWebSettings, regardless of whether enable-spell-checking is enabled or
not. This has two side effects: enchant is initialized even when not used. And
the languages are loaded twice if the application changes
spell-checking-languages before enabling spell checking.

I suggest the languages should only be initialized if spell checking is
enabled. The dictionary loading should therefore be moved into a helper
function and called as needed.

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