Bug 202143

Summary: Reorganize kmail dictionary suggestion menu
Product: [Unmaintained] kdelibs Reporter: Ian Turner <vectro>
Component: kspellAssignee: Zack Rusin <zack>
Status: RESOLVED DUPLICATE    
Severity: wishlist CC: gav
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Unspecified   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Ian Turner 2009-07-31 22:29:02 UTC
Version:            (using KDE 4.2.98)
Installed from:    Ubuntu Packages

Currently, right-clicking a misspelled word in kmail brings up a menu with just three options, the last of which opens a submenu. For example, typing in the word "teh" and right-clicking yields a menu as follows:

┌─────────────────────┐
│Ignore               │
│Add to Dictionary    │┌────┐
│Suggestions for teh ►││the │
└─────────────────────┘│eh  │
                        ...
                       │t eh│
                       └────┘

There are two problems with this approach:
1. The easiest to click options are "Ignore" and "Add to Dictionary", which are also the only undoable options. Although in a spellcheck dialog these might be the most common options, in this use case users are unlikely to right-click a word which is already correctly spelled.
2. Actually correcting the word requires two clicks, which is unnecessary as the first menu is not excessively long.

Therefore, I propose to rewrite the menu with the recommendations first and the "Ignore" and "add" options after, as follows:
┌─────────────────────┐
│the                  │
│eh                   │
 ...
│t eh                 │
├─────────────────────┤
│Ignore               │
│Add to Dictionary    │
└─────────────────────┘

Any thoughts on this approach?
Comment 1 Christoph Feck 2010-01-31 05:26:17 UTC

*** This bug has been marked as a duplicate of bug 194979 ***
Comment 2 Christoph Feck 2010-01-31 05:45:31 UTC
*** Bug 97996 has been marked as a duplicate of this bug. ***