After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 526152 - New composer spell check warning
New composer spell check warning
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
2.24.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
evolution[composer]
: 526053 (view as bug list)
Depends on:
Blocks: 522153
 
 
Reported: 2008-04-04 13:33 UTC by Milan Crha
Modified: 2013-09-13 00:58 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Milan Crha 2008-04-04 13:33:09 UTC
When opening new composer window, there is a warning on console:
gtkhtml-editor-WARNING **: en-US en-GB: No such language
I realized that comes from spell checker settings from Edit->Preferences...

I have two issues with that:
a) Even when I do not have checked any language in preferences, then I see this warning, only without any language name, like:
gtkhtml-editor-WARNING **: : No such language

b) Even when I recheck my options, then it shows me this error, but if I check the menu items in composer (the language names), then it started to spell check.

Side effect of the above thing is that the spell checking isn't preselected, thus composer doesn't spell check at the beginning.
Comment 1 Matthew Barnes 2008-04-04 13:57:44 UTC
Adding this to the "new composer" tracker (bug #522153).
Comment 2 Matthew Barnes 2008-04-05 15:26:48 UTC
Fixed, though it required quite a bit more work than I expected.  Now we're no longer using GnomeSpell's GConf keys at all.  The spell check language for your locale will now be selected by default in Composer Preferences.

This required an API addition to GtkhtmlEditor, so you'll need to update both GtkHTML and Evolution.

Committed GtkHTML revision 8812 and Evolution revision 35322.
Comment 3 Matthew Barnes 2008-04-06 02:50:10 UTC
*** Bug 526053 has been marked as a duplicate of this bug. ***
Comment 4 Milan Crha 2008-04-07 13:57:38 UTC
After the recent update, I see a runtime warning on the console:
<memory>:1: Invalid color constant '(null)'
Gtk-Message: (for origin information, set GTK_DEBUG): failed to retrieve property `GtkHTML::spell-error-color' of type `GdkColor' from rc file value ""(null)"" of type `gchararray'

when opening mail window with a preview. I guess I do not have some keys set, but am I such strange from the others? :)
Comment 5 Matthew Barnes 2008-04-07 17:06:55 UTC
I think that's just because you haven't restarted your GConf daemon since upgrading.  The schema for "/apps/evolution/mail/composer/spell_color" sets the default value to "#ffff00000000" (red), so users should never get back a NULL value for that key.
Comment 6 Milan Crha 2008-04-07 17:37:31 UTC
ahh, the scheme usually doesn't install for me, with error message "None of the resolved addresses are writable; saving configuration settings will not be possible". So that can explain it.