Bug 434331

Summary: Check Spelling window has the wrong language in the select "Language"
Product: [Applications] kmail2 Reporter: Dmitri Koulikoff <kde>
Component: composerAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version: Git (master)   
Target Milestone: ---   
Platform: Slackware   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Sample 0
Sample 1
Sample 2

Description Dmitri Koulikoff 2021-03-12 18:19:36 UTC
Created attachment 136624 [details]
Sample 0

SUMMARY

I have several profiles with different languages. And this does not work well.


STEPS TO REPRODUCE
1. In System Settings -> Regional Settings -> Languages: install "American English (default)"
2. In System Settings -> Regional Settings -> Spell check: 
  set default language to "American English"
  and lower check only "British English" and "Deutsch"
3. In Kmail -> Configure -> Accounts -> Identities -> Edit Identitty -> Advanced:
  set Dictionay to "British English"
4. Create or select another Identity and set Dictionay to "Deutsch" for it
5. Open a new message, change the identity to the second one. And type something.
6. Close the Composer discarding the message.
7. Open a new message do not change the identity and type an English word "search", for example.
8. Open check spelling window.

OBSERVED RESULT

The word, you've typed is not marked as incorrect. But in the Spelling Window there will be the "Deutsch" dictionary and German suggestions for the correct spelling


EXPECTED RESULT

There should be English dictionary


SOFTWARE/OS VERSIONS
Operating System: Slackware-current
KDE Plasma Version: 5.21.2
KDE Frameworks Version: 5.79.0
Qt Version: 5.15.2
Kernel Version: 5.10.22
OS Type: 64-bit
Graphics Platform: X11
Processors: 12 × Intel® Core™ i7-9750H CPU @ 2.60GHz
Memory: 31.1 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 630

ADDITIONAL INFORMATION
Comment 1 Dmitri Koulikoff 2021-03-12 18:20:01 UTC
Created attachment 136625 [details]
Sample 1
Comment 2 Dmitri Koulikoff 2021-03-12 18:20:27 UTC
Created attachment 136626 [details]
Sample 2