Bug 407209

Summary: "grammar check(Language Tool)" does not work
Product: [Applications] kmail2 Reporter: Philippe ROUBACH <philippe.roubach>
Component: composerAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED NOT A BUG    
Severity: normal CC: montel
Priority: NOR    
Version: 5.11.1   
Target Milestone: ---   
Platform: OpenSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 5.11.1

Description Philippe ROUBACH 2019-05-04 07:18:25 UTC
SUMMARY


STEPS TO REPRODUCE
1. In language tool external module settings select "French"
2. Compose a new message
3. check in"tools" menu the option "grammar check(Language Tool)"
4. type "Les fleur "

OBSERVED RESULT

LT checks nothing. "fleur " is not good, it must be "fleurs "
LT does not signal the error.

EXPECTED RESULT

LT does signal the error.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.15.4
KDE Frameworks Version: 5.57.0
Qt Version: qt 5.12.3

ADDITIONAL INFORMATION
kde app 19.04

another problem : checking option "grammar check(Language Tool)" is not recorded
Comment 1 Laurent Montel 2019-05-06 14:48:31 UTC
Problem : settings was not saved
Comment 2 Philippe ROUBACH 2019-05-12 17:23:27 UTC
Grammar checking with LT is now well recorded in kmail checking and with "french" language.

But grammar checking with LT is not recorded in kmail composer (new message) and thus don't work.
Comment 3 Laurent Montel 2019-05-17 06:53:55 UTC
(In reply to Philippe ROUBACH from comment #2)
> Grammar checking with LT is now well recorded in kmail checking and with
> "french" language.
> 
> But grammar checking with LT is not recorded in kmail composer (new message)
> and thus don't work.

I don't understand your problem as it works fine here.
Do you use local instance ?
Comment 4 Philippe ROUBACH 2019-05-17 07:32:53 UTC
I confirm that in composer option "grammar checking" selection is not recorded.

After checking "grammar checking" all the text is checked. Good.
But if you keep on typing your message there is not more grammar checking.
You must unselect then select "grammar checking" to get a checking of the new text!


"It works fine" if you know how to use it!

I use LT with Chrome, Firefox, LibreOffice. The way to use LT is very different:

- Grammar checking works automatically as I am typing.

- I must not, at the end of typing my text, ask for grammar checking of all the text with an option in a contextual menu.

- There is not a second window which is a copy of my mail.

It's not handy. The way to use LT must be the same way as Chrome, Firefox, LibreOffice.
Comment 5 Laurent Montel 2019-05-17 07:51:46 UTC
(In reply to Philippe ROUBACH from comment #4)
> I confirm that in composer option "grammar checking" selection is not
> recorded.
> 
> After checking "grammar checking" all the text is checked. Good.
> But if you keep on typing your message there is not more grammar checking.
> You must unselect then select "grammar checking" to get a checking of the
> new text!

normal it doesn't work as it. We need to recheck it. (menu in windows area => check again)


> 
> 
> "It works fine" if you know how to use it!
> 
> I use LT with Chrome, Firefox, LibreOffice. The way to use LT is very
> different:
> 
> - Grammar checking works automatically as I am typing.

So it sends all the time info on server, but when we use not local the number of sending message is limited.

> 
> - I must not, at the end of typing my text, ask for grammar checking of all
> the text with an option in a contextual menu.
> 
> - There is not a second window which is a copy of my mail.

But in kmail we have sonnet which will override LT changes.

> 
> It's not handy. The way to use LT must be the same way as Chrome, Firefox,
> LibreOffice.
Comment 6 Philippe ROUBACH 2019-05-17 08:08:28 UTC
> I confirm that in composer option "grammar checking" selection is not
> recorded.
> 
> After checking "grammar checking" all the text is checked. Good.
> But if you keep on typing your message there is not more grammar checking.
> You must unselect then select "grammar checking" to get a checking of the
> new text!

> normal it doesn't work as it. We need to recheck it. (menu in windows area => 
> check again)

thuis don't use
Comment 7 Philippe ROUBACH 2019-05-17 08:10:14 UTC
> I confirm that in composer option "grammar checking" selection is not
> recorded.
> 
> After checking "grammar checking" all the text is checked. Good.
> But if you keep on typing your message there is not more grammar checking.
> You must unselect then select "grammar checking" to get a checking of the
> new text!

> normal it doesn't work as it. We need to recheck it. (menu in windows area => 
> check again)

thus don't use a check box for "grammar checking(LT)"
Comment 8 Laurent Montel 2019-05-17 08:14:00 UTC
(In reply to Philippe ROUBACH from comment #7)
> > I confirm that in composer option "grammar checking" selection is not
> > recorded.
> > 
> > After checking "grammar checking" all the text is checked. Good.
> > But if you keep on typing your message there is not more grammar checking.
> > You must unselect then select "grammar checking" to get a checking of the
> > new text!
> 
> > normal it doesn't work as it. We need to recheck it. (menu in windows area => 
> > check again)
> 
> thus don't use a check box for "grammar checking(LT)"

it signals that we show the LT widget...