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 658816 - Add spell checker
Add spell checker
Status: RESOLVED OBSOLETE
Product: GIMP
Classification: Other
Component: User Interface
unspecified
Other All
: Low enhancement
: ---
Assigned To: GIMP Bugs
GIMP Bugs
: 700208 732660 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2011-09-12 12:29 UTC by Pander
Modified: 2018-05-24 13:02 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Pander 2011-09-12 12:29:44 UTC
Please add a spell checker for the Text Editor and text areas such as Image Properties / Comment and Preferences / Default Image / Comment.

In these text areas a red wobbly underline should appear under words that are misspelled. Via the right click mouse pop-up menu the following should be made available:
- menu items with suggestions for correction directly at the top of the pop-up menu
- menu item to add a misspelled word to the user dictionary called "Add to Dictionary"
- menu called "Languages" with menu items of all available languages to do spell checking with

The language selected should be remembered from the last selection, even after a restart of GIMP . Preferably the selected language is also remembered per image by its complete file path. This is very useful when working with multiple files, each in a different language. (Probably gedit has an implementation of this option too which could be reused or shared.)

This would function similarly as it is currently working in Firefox. In the view of this comparison with Firefox, the "Add Dictionaries..." should *not* be offered.

Functionality is already implemented in the enchant spell checker library which is available on at least Linux and probably also on Windows and Mac OS-X.

Implementing this will increase user satisfaction as more spelling errors are prevented in images and image metadata. This helps to prevent costly reprints of graphical work or possible embarrassment.
Comment 1 Alexia Death 2011-09-12 13:35:50 UTC
Nice to have, but pretty low priority.
Comment 2 Mukund Sivaraman 2011-09-12 14:20:40 UTC
Added an initial version using GtkSpell to the comment editor. It can be improved over time. Currently it doesn't pass a language to GtkSpell. Need to get the current language and pass it.

--disable-gtkspell can be used to disable building this.

commit 978c96bbc6d709936ff9a3a88a68d24f4d69b497
Author: Mukund Sivaraman <muks@banu.com>
Date:   Mon Sep 12 19:34:51 2011 +0530

    Bug #658816 - Add a spellchecker to the comment editor
    
    This is an initial version and can be improved. Something is better
    than nothing.  :)
Comment 3 Mukund Sivaraman 2011-09-12 14:47:34 UTC
For the record, I think adding spell checking to the text tool is a bad idea. The text tool is used in many weird ways unlike a document editor. An often used case is when a user adds a word 'Fire' in two invocations: (1) Just 'F' and (2) The rest 'ire'.
Comment 4 Pander 2011-09-12 14:54:18 UTC
(In reply to comment #3)
> For the record, I think adding spell checking to the text tool is a bad idea.
> The text tool is used in many weird ways unlike a document editor. An often
> used case is when a user adds a word 'Fire' in two invocations: (1) Just 'F'
> and (2) The rest 'ire'.

Understood, but also many times invocations are made with full words including spelling errors. It depends strongly on how the individual user is using GIMP. A button on the text could be used to toggle spell check on and off. I think it would be used more often then toggling LTR/RTL text orientation.
Comment 5 Pander 2011-09-12 14:57:28 UTC
(In reply to comment #2)
> Added an initial version using GtkSpell to the comment editor. It can be
> improved over time. Currently it doesn't pass a language to GtkSpell. Need to
> get the current language and pass it.
> 
> --disable-gtkspell can be used to disable building this.
> 
> commit 978c96bbc6d709936ff9a3a88a68d24f4d69b497
> Author: Mukund Sivaraman <muks@banu.com>
> Date:   Mon Sep 12 19:34:51 2011 +0530
> 
>     Bug #658816 - Add a spellchecker to the comment editor
> 
>     This is an initial version and can be improved. Something is better
>     than nothing.  :)

Thank you for already drawing a plan for implementation.

Please keep in mind that /the current language/ is a system setting but for users wokring in multiple languages, it is better to use that as an initial setting which is overridden by the latest user language selection.
Comment 6 Michael Natterer 2013-05-13 00:08:13 UTC
*** Bug 700208 has been marked as a duplicate of this bug. ***
Comment 7 Michael Schumacher 2014-07-03 08:34:58 UTC
*** Bug 732660 has been marked as a duplicate of this bug. ***
Comment 8 GNOME Infrastructure Team 2018-05-24 13:02:02 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gimp/issues/375.